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.0009973/0.0009973, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009449/0.0009449, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.072/1.072, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003685, allocations: 8.719 kB / 0.5069 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2234, allocations: 82.32 MB / 0.5873 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6096/0.833, allocations: 137.7 MB / 0.7218 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03967/0.8728, allocations: 23.43 MB / 0.7447 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005912/0.8787, allocations: 74.09 kB / 0.7448 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004189/0.883, allocations: 1.039 MB / 0.7458 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009804/0.8928, allocations: 2.351 MB / 0.7481 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006933/0.8998, allocations: 1.857 MB / 0.7499 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008301/0.9081, allocations: 3.616 MB / 0.7534 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005727/0.9139, allocations: 3.377 MB / 0.7567 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003651/0.9175, allocations: 1.518 MB / 0.7582 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003498/0.9211, allocations: 1.91 MB / 0.7601 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006695/0.9218, allocations: 136 kB / 0.7602 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.9244, allocations: 0.6165 MB / 0.7608 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009809/0.9254, allocations: 0.8327 MB / 0.7616 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.9267, allocations: 0.7533 MB / 0.7623 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008253/0.935, allocations: 5.094 MB / 0.7673 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.9351, allocations: 0 / 0.7673 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.428e-06/0.9351, allocations: 0 / 0.7673 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004007/0.9355, allocations: 0 / 0.7673 GB, free: 3.664 MB / 0.5762 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.0136/0.9491, allocations: 4.366 MB / 0.7716 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.9492, allocations: 8.031 kB / 0.7716 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001762/0.9509, allocations: 0.5104 MB / 0.7721 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/0.9648, allocations: 2.947 MB / 0.775 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005891/0.9707, allocations: 2.393 MB / 0.7773 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.971, allocations: 279.5 kB / 0.7776 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000771/0.9717, allocations: 372 kB / 0.7779 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/0.9851, allocations: 5.715 MB / 0.7835 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.563e-05/0.9852, allocations: 7.938 kB / 0.7835 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004423/0.9856, allocations: 156 kB / 0.7837 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.409e-05/0.9857, allocations: 92 kB / 0.7837 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/1.003, allocations: 6.913 MB / 0.7905 GB, free: 11.7 MB / 0.6075 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.03412/1.037, allocations: 17.44 MB / 0.8075 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/1.047, allocations: 4.473 MB / 0.8119 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/1.048, allocations: 0.6777 MB / 0.8125 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00622/1.055, allocations: 2.713 MB / 0.8152 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=315): time 6.372e-06/1.055, allocations: 0 / 0.8152 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of matching and sorting (n=315): time 0.02668/1.081, allocations: 9.645 MB / 0.8246 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/1.081, allocations: 214.4 kB / 0.8248 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004099/1.086, allocations: 2.654 MB / 0.8274 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007911/1.086, allocations: 89.62 kB / 0.8275 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001577/1.088, allocations: 1.546 MB / 0.829 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00174/1.09, allocations: 1.043 MB / 0.83 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/1.09, allocations: 56 kB / 0.8301 GB, free: 2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002452/1.09, allocations: 419.5 kB / 0.8305 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005175/1.095, allocations: 2.156 MB / 0.8326 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005556/1.101, allocations: 2.497 MB / 0.835 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005542/1.107, allocations: 2.347 MB / 0.8373 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/1.107, allocations: 0 / 0.8373 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01498/1.122, allocations: 5.74 MB / 0.8429 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/1.122, allocations: 7.953 kB / 0.8429 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/1.122, allocations: 8 kB / 0.8429 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/1.124, allocations: 0.8396 MB / 0.8438 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004381/1.128, allocations: 0.7995 MB / 0.8445 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/1.14, allocations: 7.208 MB / 0.8516 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004953/1.145, allocations: 0.6034 MB / 0.8522 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009159/1.146, allocations: 119.9 kB / 0.8523 GB, free: 10.97 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 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003597/1.149, allocations: 1.021 MB / 0.8533 GB, free: 9.938 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/1.151, allocations: 304.2 kB / 0.8536 GB, free: 9.637 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01787/1.169, allocations: 6.388 MB / 0.8598 GB, free: 3.184 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/1.169, allocations: 32 kB / 0.8598 GB, free: 3.152 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-05/1.169, allocations: 11.95 kB / 0.8598 GB, free: 3.141 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.397e-05/1.169, allocations: 15.94 kB / 0.8599 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5042/1.673, allocations: 10.74 MB / 0.8703 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/1.673, allocations: 7.062 kB / 0.8704 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003836/1.677, allocations: 0.7673 MB / 0.8711 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/1.679, allocations: 0.7345 MB / 0.8718 GB, free: 209.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004719/1.679, allocations: 86.19 kB / 0.8719 GB, free: 209.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/1.69, allocations: 10.03 MB / 0.8817 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.69, allocations: 0 / 0.8817 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01914/1.709, allocations: 9.056 MB / 0.8905 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003175/1.712, allocations: 0.9422 MB / 0.8915 GB, free: 199 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007624/1.713, allocations: 62.41 kB / 0.8915 GB, free: 198.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003452/1.716, allocations: 448.2 kB / 0.8919 GB, free: 198.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005975/1.717, allocations: 211.2 kB / 0.8921 GB, free: 198.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002851/1.717, allocations: 108.3 kB / 0.8922 GB, free: 198.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003516/1.721, allocations: 1.928 MB / 0.8941 GB, free: 198.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.7e-07/1.721, allocations: 3.75 kB / 0.8941 GB, free: 198.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00529/1.726, allocations: 1.233 MB / 0.8953 GB, free: 197.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02491/1.751, allocations: 10.54 MB / 0.9056 GB, free: 194.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01459/1.766, allocations: 5.471 MB / 0.911 GB, free: 192.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.766, allocations: 1.125 kB / 0.911 GB, free: 192.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.009378/1.775, allocations: 3.326 MB / 0.9142 GB, free: 191 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006521/1.782, allocations: 0.677 MB / 0.9149 GB, free: 190.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08433/1.866, allocations: 31.37 MB / 0.9455 GB, free: 173.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004147/1.87, allocations: 2.772 MB / 0.9482 GB, free: 171.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005292/1.876, allocations: 1.161 MB / 0.9494 GB, free: 170.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003007/1.879, allocations: 1.635 MB / 0.951 GB, free: 168.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.323e-06/1.879, allocations: 4 kB / 0.951 GB, free: 168.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1332/2.012, allocations: 80.86 MB / 1.03 GB, free: 88.66 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/2.012, allocations: 266.5 kB / 1.03 GB, free: 88.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.454/7.466, allocations: 0 / 1.03 GB, free: 88.3 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/linux/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) Environment - environmentSimulation: