Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_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.001656/0.001656, allocations: 99.55 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.001831/0.001831, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.665/2.665, allocations: 223.2 MB / 239.9 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 1.4/1.4, allocations: 132.2 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005991/0.0005995, allocations: 8 kB / 0.5033 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.088, allocations: 81.57 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.3091/1.397, allocations: 137.8 MB / 0.7175 GB, free: 6.441 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.05752/1.455, allocations: 23.44 MB / 0.7404 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006654/1.461, allocations: 71.62 kB / 0.7405 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005625/1.467, allocations: 1.042 MB / 0.7415 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01556/1.483, allocations: 2.354 MB / 0.7438 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01137/1.494, allocations: 1.852 MB / 0.7456 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01341/1.507, allocations: 3.621 MB / 0.7491 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009935/1.518, allocations: 3.368 MB / 0.7524 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007183/1.525, allocations: 1.521 MB / 0.7539 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007268/1.532, allocations: 1.914 MB / 0.7558 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002385/1.535, allocations: 136 kB / 0.7559 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005251/1.54, allocations: 0.6126 MB / 0.7565 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002266/1.542, allocations: 0.8289 MB / 0.7573 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00292/1.545, allocations: 0.7494 MB / 0.758 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01122/1.556, allocations: 5.097 MB / 0.763 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.556, allocations: 0 / 0.763 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.739e-06/1.557, allocations: 0 / 0.763 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003062/1.557, allocations: 4 kB / 0.763 GB, free: 7.723 MB / 0.5919 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.01931/1.576, allocations: 4.365 MB / 0.7673 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 8.901e-05/1.576, allocations: 8.031 kB / 0.7673 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003888/1.58, allocations: 0.5065 MB / 0.7678 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02432/1.605, allocations: 2.955 MB / 0.7707 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/1.616, allocations: 2.389 MB / 0.773 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005547/1.616, allocations: 279.5 kB / 0.7733 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002749/1.619, allocations: 372 kB / 0.7736 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02982/1.649, allocations: 5.707 MB / 0.7792 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/1.649, allocations: 8 kB / 0.7792 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002053/1.651, allocations: 156 kB / 0.7793 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/1.651, allocations: 95.94 kB / 0.7794 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03263/1.684, allocations: 6.909 MB / 0.7862 GB, free: 15.76 MB / 0.6231 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.07055/1.755, allocations: 17.43 MB / 0.8032 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02115/1.776, allocations: 4.484 MB / 0.8076 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002959/1.779, allocations: 0.6777 MB / 0.8082 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01109/1.79, allocations: 2.706 MB / 0.8109 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=315): time 1.011e-05/1.79, allocations: 0 / 0.8109 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of matching and sorting (n=315): time 0.8653/2.655, allocations: 9.64 MB / 0.8203 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002072/2.656, allocations: 214.6 kB / 0.8205 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008622/2.664, allocations: 2.66 MB / 0.8231 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001493/2.666, allocations: 81.52 kB / 0.8232 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002911/2.669, allocations: 1.543 MB / 0.8247 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003845/2.673, allocations: 1.052 MB / 0.8257 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007358/2.674, allocations: 52.09 kB / 0.8258 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0006204/2.674, allocations: 413.7 kB / 0.8262 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009554/2.684, allocations: 2.161 MB / 0.8283 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01148/2.695, allocations: 2.504 MB / 0.8307 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/2.707, allocations: 2.336 MB / 0.833 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.116e-05/2.707, allocations: 1.062 kB / 0.833 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.0282/2.735, allocations: 5.738 MB / 0.8386 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.49e-05/2.735, allocations: 5.844 kB / 0.8386 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.632e-05/2.736, allocations: 4.406 kB / 0.8386 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003262/2.739, allocations: 0.8459 MB / 0.8394 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007148/2.746, allocations: 0.8003 MB / 0.8402 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/2.761, allocations: 7.216 MB / 0.8473 GB, free: 195.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007111/2.768, allocations: 0.5949 MB / 0.8479 GB, free: 195.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/2.77, allocations: 113.7 kB / 0.848 GB, free: 195.2 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 ($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.004846/2.774, allocations: 1.026 MB / 0.849 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001559/2.776, allocations: 306.2 kB / 0.8493 GB, free: 194.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0223/2.798, allocations: 6.405 MB / 0.8555 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.942e-05/2.798, allocations: 29.12 kB / 0.8555 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.851e-05/2.798, allocations: 10.81 kB / 0.8555 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.787e-05/2.799, allocations: 15.94 kB / 0.8556 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0338/2.832, allocations: 10.73 MB / 0.866 GB, free: 181.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/2.832, allocations: 0 / 0.866 GB, free: 181.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00614/2.839, allocations: 0.7645 MB / 0.8668 GB, free: 180.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002794/2.841, allocations: 0.734 MB / 0.8675 GB, free: 179.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001251/2.843, allocations: 89.23 kB / 0.8676 GB, free: 179.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01501/2.858, allocations: 10.02 MB / 0.8774 GB, free: 169 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/2.858, allocations: 4 kB / 0.8774 GB, free: 169 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03279/2.891, allocations: 9.049 MB / 0.8862 GB, free: 159.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005015/2.896, allocations: 0.9452 MB / 0.8871 GB, free: 158.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001904/2.898, allocations: 67.94 kB / 0.8872 GB, free: 158.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006815/2.905, allocations: 449.4 kB / 0.8876 GB, free: 158.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001258/2.906, allocations: 210.5 kB / 0.8878 GB, free: 158.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000644/2.907, allocations: 107.9 kB / 0.8879 GB, free: 158.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005294/2.912, allocations: 1.928 MB / 0.8898 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.61e-07/2.912, allocations: 0 / 0.8898 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01126/2.923, allocations: 1.227 MB / 0.891 GB, free: 155 MB / 0.6387 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.04339/2.967, allocations: 10.56 MB / 0.9013 GB, free: 144.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0223/2.989, allocations: 5.47 MB / 0.9067 GB, free: 139.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/2.989, allocations: 0 / 0.9067 GB, free: 139.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01283/3.002, allocations: 3.337 MB / 0.9099 GB, free: 135.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007897/3.01, allocations: 0.6644 MB / 0.9106 GB, free: 135.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1028/3.113, allocations: 31.36 MB / 0.9412 GB, free: 102.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003659/3.117, allocations: 2.78 MB / 0.9439 GB, free: 99.88 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.008157/3.125, allocations: 1.164 MB / 0.9451 GB, free: 98.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004666/3.13, allocations: 1.636 MB / 0.9466 GB, free: 97.08 MB / 0.6387 GB Notification: Performance of SimCode: time 2.314e-06/3.13, allocations: 0 / 0.9466 GB, free: 97.08 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1971/3.327, allocations: 80.85 MB / 1.026 GB, free: 16.95 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002521/3.327, allocations: 268.9 kB / 1.026 GB, free: 16.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/10.64, allocations: 0 / 1.026 GB, free: 16.59 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1) Environment - environmentSimulation: