Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 191.2 kB / 16.13 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9373/0.9373, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 56.47 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1978, allocations: 80.94 MB / 0.5838 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.4747/0.6725, allocations: 160.7 MB / 0.7407 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03753/0.7101, allocations: 27.26 MB / 0.7674 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004095/0.7142, allocations: 79.62 kB / 0.7674 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003212/0.7175, allocations: 0.9915 MB / 0.7684 GB, free: 180 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00599/0.7235, allocations: 1.711 MB / 0.7701 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005155/0.7287, allocations: 1.753 MB / 0.7718 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008297/0.737, allocations: 6.165 MB / 0.7778 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008343/0.7454, allocations: 4.353 MB / 0.7821 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005231/0.7507, allocations: 1.926 MB / 0.7839 GB, free: 204 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005288/0.756, allocations: 2.65 MB / 0.7865 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001602/0.7576, allocations: 288 kB / 0.7868 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.761, allocations: 0.8819 MB / 0.7877 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001912/0.763, allocations: 1.105 MB / 0.7887 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004113/0.7671, allocations: 2.125 MB / 0.7908 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009678/0.7768, allocations: 6.434 MB / 0.7971 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.7769, allocations: 0 / 0.7971 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7769, allocations: 0 / 0.7971 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002756/0.7771, allocations: 0 / 0.7971 GB, free: 2.676 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.0135/0.7907, allocations: 5.101 MB / 0.8021 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/0.7907, allocations: 8.031 kB / 0.8021 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008824/0.7916, allocations: 0.5104 MB / 0.8026 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/0.806, allocations: 2.838 MB / 0.8054 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005916/0.812, allocations: 2.523 MB / 0.8078 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.8123, allocations: 279.5 kB / 0.8081 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009226/0.8132, allocations: 364 kB / 0.8084 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/0.8266, allocations: 5.728 MB / 0.814 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.171e-05/0.8268, allocations: 3.938 kB / 0.814 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000412/0.8272, allocations: 152 kB / 0.8142 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.298e-05/0.8273, allocations: 95.94 kB / 0.8143 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01545/0.8427, allocations: 6.858 MB / 0.821 GB, free: 9.992 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03337/0.8761, allocations: 17.37 MB / 0.8379 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.8864, allocations: 4.474 MB / 0.8423 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006237/0.8927, allocations: 2.959 MB / 0.8452 GB, free: 432 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.8939, allocations: 0.6816 MB / 0.8458 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00685/0.9008, allocations: 2.727 MB / 0.8485 GB, free: 12.85 MB / 0.67 GB Notification: Performance of pre-optimization done (n=315): time 9.257e-06/0.9008, allocations: 3.984 kB / 0.8485 GB, free: 12.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=315): time 0.02806/0.9289, allocations: 9.69 MB / 0.858 GB, free: 3.02 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/0.9291, allocations: 218.4 kB / 0.8582 GB, free: 2.762 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004805/0.9339, allocations: 2.647 MB / 0.8608 GB, free: 104 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008138/0.9347, allocations: 81.7 kB / 0.8608 GB, free: 16 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.3392/1.274, allocations: 1.545 MB / 0.8624 GB, free: 215.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001511/1.275, allocations: 1.041 MB / 0.8634 GB, free: 215.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009883/1.276, allocations: 0.5305 MB / 0.8639 GB, free: 215.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.603e-05/1.277, allocations: 301.1 kB / 0.8642 GB, free: 214.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004303/1.281, allocations: 2.158 MB / 0.8663 GB, free: 214.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004535/1.285, allocations: 2.529 MB / 0.8688 GB, free: 213.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008888/1.294, allocations: 4.683 MB / 0.8733 GB, free: 211.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/1.294, allocations: 0 / 0.8733 GB, free: 211.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01164/1.306, allocations: 5.75 MB / 0.8789 GB, free: 209.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/1.306, allocations: 5.656 kB / 0.879 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.306, allocations: 6.812 kB / 0.879 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/1.308, allocations: 0.8319 MB / 0.8798 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003938/1.312, allocations: 0.7981 MB / 0.8805 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008306/1.32, allocations: 7.002 MB / 0.8874 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004357/1.324, allocations: 0.5874 MB / 0.888 GB, free: 205.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006859/1.325, allocations: 113.3 kB / 0.8881 GB, free: 205.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.intGai.nextTimeEvent,$whenCondition1,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (283): * Single equations (assignments): 282 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00237/1.327, allocations: 1.021 MB / 0.8891 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009217/1.328, allocations: 313.9 kB / 0.8894 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01808/1.346, allocations: 6.38 MB / 0.8956 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.122e-05/1.347, allocations: 30.91 kB / 0.8956 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.179e-05/1.347, allocations: 16.22 kB / 0.8956 GB, free: 202.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-05/1.347, allocations: 17.66 kB / 0.8957 GB, free: 202.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02813/1.375, allocations: 10.72 MB / 0.9061 GB, free: 198.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/1.375, allocations: 2.047 kB / 0.9061 GB, free: 198.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004252/1.379, allocations: 0.7648 MB / 0.9069 GB, free: 198.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002182/1.381, allocations: 0.7321 MB / 0.9076 GB, free: 198.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008111/1.382, allocations: 86.11 kB / 0.9077 GB, free: 198.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/1.394, allocations: 9.795 MB / 0.9172 GB, free: 191.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.394, allocations: 7.812 kB / 0.9172 GB, free: 191.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02383/1.418, allocations: 9.079 MB / 0.9261 GB, free: 188.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002448/1.42, allocations: 0.8898 MB / 0.927 GB, free: 187.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/1.422, allocations: 71.27 kB / 0.9271 GB, free: 187.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003763/1.425, allocations: 432.6 kB / 0.9275 GB, free: 187.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008673/1.426, allocations: 217.9 kB / 0.9277 GB, free: 187.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004989/1.427, allocations: 105.2 kB / 0.9278 GB, free: 187.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003807/1.431, allocations: 1.925 MB / 0.9297 GB, free: 186.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.5e-07/1.431, allocations: 0 / 0.9297 GB, free: 186.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004649/1.435, allocations: 1.227 MB / 0.9308 GB, free: 186.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0203/1.456, allocations: 10.56 MB / 0.9412 GB, free: 180.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01092/1.467, allocations: 5.469 MB / 0.9465 GB, free: 175.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.467, allocations: 0 / 0.9465 GB, free: 175.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005962/1.473, allocations: 3.324 MB / 0.9498 GB, free: 171.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004427/1.477, allocations: 0.7247 MB / 0.9505 GB, free: 171.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07749/1.555, allocations: 38.95 MB / 0.9885 GB, free: 130.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003406/1.558, allocations: 2.695 MB / 0.9911 GB, free: 127.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005698/1.564, allocations: 1.158 MB / 0.9923 GB, free: 126.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003501/1.567, allocations: 1.643 MB / 0.9939 GB, free: 125.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.272e-06/1.567, allocations: 0 / 0.9939 GB, free: 125.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8907/2.458, allocations: 78.49 MB / 1.071 GB, free: 47.23 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/2.458, allocations: 304.2 kB / 1.071 GB, free: 46.84 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.442/6.9, allocations: 0 / 1.071 GB, free: 46.84 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)