Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.0009722/0.0009722, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007585/0.007585, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7648/0.7648, allocations: 132.3 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003122, allocations: 8.531 kB / 0.5041 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3636, allocations: 81.57 MB / 0.5837 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1568/0.5204, allocations: 156.2 MB / 0.7363 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0273/0.5477, allocations: 26.3 MB / 0.762 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.5498, allocations: 63.62 kB / 0.762 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.5514, allocations: 0.8984 MB / 0.7629 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003369/0.5548, allocations: 1.519 MB / 0.7644 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00302/0.5578, allocations: 1.495 MB / 0.7659 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004632/0.5624, allocations: 5.065 MB / 0.7708 GB, free: 180 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003721/0.5662, allocations: 3.49 MB / 0.7742 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.5677, allocations: 1.361 MB / 0.7755 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.5697, allocations: 1.902 MB / 0.7774 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000235/0.57, allocations: 108 kB / 0.7775 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.5714, allocations: 0.7022 MB / 0.7782 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005914/0.572, allocations: 0.7467 MB / 0.7789 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.5733, allocations: 1.566 MB / 0.7804 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004299/0.5776, allocations: 5.306 MB / 0.7856 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.5776, allocations: 0 / 0.7856 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5776, allocations: 0 / 0.7856 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.42e-05/0.5777, allocations: 0 / 0.7856 GB, free: 0.8828 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.006723/0.5844, allocations: 3.804 MB / 0.7893 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.5845, allocations: 16.02 kB / 0.7894 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005351/0.585, allocations: 463 kB / 0.7898 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/0.6014, allocations: 2.882 MB / 0.7926 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004491/0.606, allocations: 2.27 MB / 0.7948 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.6062, allocations: 246.5 kB / 0.7951 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008946/0.6071, allocations: 316 kB / 0.7954 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01574/0.6229, allocations: 5.179 MB / 0.8004 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.956e-05/0.623, allocations: 3.938 kB / 0.8004 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003376/0.6233, allocations: 139.9 kB / 0.8006 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-05/0.6234, allocations: 80 kB / 0.8006 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01348/0.6369, allocations: 6.38 MB / 0.8069 GB, free: 10.86 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.2507/0.8876, allocations: 14.55 MB / 0.8211 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009783/0.8975, allocations: 4.513 MB / 0.8255 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004674/0.9022, allocations: 2.464 MB / 0.8279 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007381/0.9029, allocations: 0.6724 MB / 0.8286 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004671/0.9076, allocations: 2.471 MB / 0.831 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=270): time 4.809e-06/0.9076, allocations: 192 / 0.831 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=270): time 0.01646/0.9241, allocations: 7.579 MB / 0.8384 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.9242, allocations: 212.4 kB / 0.8386 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002767/0.927, allocations: 2.388 MB / 0.8409 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003294/0.9273, allocations: 73.52 kB / 0.841 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007762/0.9281, allocations: 1.361 MB / 0.8423 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005713/0.9287, allocations: 0.8919 MB / 0.8432 GB, free: 199.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/0.929, allocations: 193.2 kB / 0.8434 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.653e-05/0.929, allocations: 305.1 kB / 0.8436 GB, free: 199.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003702/0.9327, allocations: 1.951 MB / 0.8456 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003923/0.9366, allocations: 2.268 MB / 0.8478 GB, free: 196.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007518/0.9442, allocations: 4.227 MB / 0.8519 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.9442, allocations: 0 / 0.8519 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.009039/0.9533, allocations: 4.909 MB / 0.8567 GB, free: 191.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.9533, allocations: 14.59 kB / 0.8567 GB, free: 191.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.9533, allocations: 9.75 kB / 0.8567 GB, free: 191.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006981/0.954, allocations: 341.2 kB / 0.857 GB, free: 191.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/0.9573, allocations: 0.78 MB / 0.8578 GB, free: 190.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003784/0.9611, allocations: 3.915 MB / 0.8616 GB, free: 186.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/0.9645, allocations: 0.548 MB / 0.8622 GB, free: 186 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/0.9647, allocations: 107.4 kB / 0.8623 GB, free: 185.9 MB / 0.6387 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 (270): * Single equations (assignments): 269 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001512/0.9662, allocations: 0.9243 MB / 0.8632 GB, free: 185 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004162/0.9667, allocations: 274.5 kB / 0.8634 GB, free: 184.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/0.977, allocations: 5.559 MB / 0.8689 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.977, allocations: 24 kB / 0.8689 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.977, allocations: 8 kB / 0.8689 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.9771, allocations: 19.92 kB / 0.8689 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/0.991, allocations: 9.307 MB / 0.878 GB, free: 169.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.9911, allocations: 4 kB / 0.878 GB, free: 169.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00311/0.9942, allocations: 0.7332 MB / 0.8787 GB, free: 169 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008806/0.9951, allocations: 387.9 kB / 0.8791 GB, free: 168.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001824/0.9953, allocations: 71.94 kB / 0.8791 GB, free: 168.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004334/0.9996, allocations: 5.793 MB / 0.8848 GB, free: 162.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.9996, allocations: 4 kB / 0.8848 GB, free: 162.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/1.013, allocations: 7.938 MB / 0.8926 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/1.014, allocations: 0.8442 MB / 0.8934 GB, free: 153.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003513/1.015, allocations: 48 kB / 0.8934 GB, free: 153.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002618/1.017, allocations: 427.3 kB / 0.8938 GB, free: 153.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003303/1.018, allocations: 177.9 kB / 0.894 GB, free: 152.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/1.018, allocations: 103.9 kB / 0.8941 GB, free: 152.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001707/1.019, allocations: 1.741 MB / 0.8958 GB, free: 151 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/1.019, allocations: 0 / 0.8958 GB, free: 151 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002044/1.021, allocations: 1.023 MB / 0.8968 GB, free: 150 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,25,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.01499/1.036, allocations: 9.409 MB / 0.906 GB, free: 141 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008474/1.045, allocations: 4.793 MB / 0.9107 GB, free: 136.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.934e-06/1.045, allocations: 0 / 0.9107 GB, free: 136.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004686/1.05, allocations: 2.765 MB / 0.9134 GB, free: 133.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/1.053, allocations: 0.6284 MB / 0.914 GB, free: 132.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05293/1.106, allocations: 33.54 MB / 0.9467 GB, free: 97.54 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/1.108, allocations: 2.444 MB / 0.9491 GB, free: 95.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00387/1.111, allocations: 1.104 MB / 0.9502 GB, free: 93.95 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00212/1.114, allocations: 1.436 MB / 0.9516 GB, free: 92.51 MB / 0.6387 GB Notification: Performance of SimCode: time 2.515e-06/1.114, allocations: 8 kB / 0.9516 GB, free: 92.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2386/1.352, allocations: 66.15 MB / 1.016 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.352, allocations: 288.3 kB / 1.017 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.233/5.586, allocations: 0 / 1.017 GB, free: 26.56 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)