Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.001141/0.001146, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001225/0.001225, allocations: 198 kB / 16.25 MB, free: 6.621 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7511/0.7511, allocations: 132.2 MB / 422.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.94 kB / 0.5014 GB, free: 9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1717, allocations: 80.2 MB / 0.5797 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5233/0.695, allocations: 157.9 MB / 0.7339 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03928/0.7343, allocations: 26.27 MB / 0.7595 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00444/0.7388, allocations: 63.69 kB / 0.7596 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002868/0.7417, allocations: 0.8829 MB / 0.7604 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005997/0.7478, allocations: 1.461 MB / 0.7619 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004883/0.7527, allocations: 1.479 MB / 0.7633 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007018/0.7597, allocations: 4.564 MB / 0.7678 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006211/0.7659, allocations: 4.113 MB / 0.7718 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004625/0.7706, allocations: 1.936 MB / 0.7737 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004223/0.7748, allocations: 2.378 MB / 0.776 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001115/0.776, allocations: 428 kB / 0.7764 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002777/0.7788, allocations: 0.9992 MB / 0.7774 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.7799, allocations: 1.122 MB / 0.7785 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002719/0.7827, allocations: 1.932 MB / 0.7804 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007713/0.7904, allocations: 5.414 MB / 0.7857 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.7904, allocations: 0 / 0.7857 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7905, allocations: 4 kB / 0.7857 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001574/0.7906, allocations: 0 / 0.7857 GB, free: 15.98 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01123/0.8019, allocations: 4.311 MB / 0.7899 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.8019, allocations: 12.03 kB / 0.7899 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006916/0.8026, allocations: 438.2 kB / 0.7903 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/0.8165, allocations: 2.753 MB / 0.793 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005332/0.8219, allocations: 2.187 MB / 0.7951 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.8222, allocations: 230.2 kB / 0.7953 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009974/0.8232, allocations: 296 kB / 0.7956 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.836, allocations: 4.967 MB / 0.8005 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.811e-05/0.8361, allocations: 0 / 0.8005 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003851/0.8365, allocations: 128 kB / 0.8006 GB, free: 468 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.668e-05/0.8365, allocations: 79.94 kB / 0.8007 GB, free: 388 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01601/0.8525, allocations: 6.103 MB / 0.8066 GB, free: 10.26 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.03339/0.886, allocations: 13.63 MB / 0.8199 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/0.8977, allocations: 4.344 MB / 0.8242 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006112/0.9039, allocations: 2.316 MB / 0.8264 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.9051, allocations: 0.6695 MB / 0.8271 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006805/0.9119, allocations: 2.374 MB / 0.8294 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=257): time 6.973e-06/0.912, allocations: 0 / 0.8294 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of matching and sorting (n=257): time 0.02106/0.933, allocations: 6.935 MB / 0.8362 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.9332, allocations: 214 kB / 0.8364 GB, free: 11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004187/0.9374, allocations: 2.299 MB / 0.8386 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007917/0.9382, allocations: 69.7 kB / 0.8387 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.9398, allocations: 1.309 MB / 0.84 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001552/0.9413, allocations: 0.8511 MB / 0.8408 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001877/0.9432, allocations: 460 kB / 0.8413 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.9434, allocations: 305.1 kB / 0.8415 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004792/0.9482, allocations: 1.874 MB / 0.8434 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005207/0.9534, allocations: 2.18 MB / 0.8455 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009746/0.9632, allocations: 4.041 MB / 0.8495 GB, free: 13.36 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.9632, allocations: 8 kB / 0.8495 GB, free: 13.35 MB / 0.67 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01263/0.9758, allocations: 4.651 MB / 0.854 GB, free: 8.645 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.9759, allocations: 8 kB / 0.854 GB, free: 8.637 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.9759, allocations: 4 kB / 0.854 GB, free: 8.633 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007088/0.9766, allocations: 237.7 kB / 0.8542 GB, free: 8.398 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004185/0.9808, allocations: 0.7644 MB / 0.855 GB, free: 7.633 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004555/0.9854, allocations: 3.378 MB / 0.8583 GB, free: 4.121 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/0.9895, allocations: 0.5271 MB / 0.8588 GB, free: 3.594 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007196/0.9902, allocations: 107.9 kB / 0.8589 GB, free: 3.488 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 (264): * Single equations (assignments): 263 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002757/0.993, allocations: 0.8797 MB / 0.8598 GB, free: 2.598 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/0.9942, allocations: 264.7 kB / 0.86 GB, free: 2.336 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3769/1.371, allocations: 5.272 MB / 0.8652 GB, free: 220.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/1.371, allocations: 25.47 kB / 0.8652 GB, free: 220.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/1.371, allocations: 6.812 kB / 0.8652 GB, free: 220.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.582e-05/1.371, allocations: 13.03 kB / 0.8652 GB, free: 220.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/1.387, allocations: 8.821 MB / 0.8738 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.387, allocations: 3.938 kB / 0.8738 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003414/1.39, allocations: 0.7163 MB / 0.8745 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007655/1.391, allocations: 266.6 kB / 0.8748 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000274/1.391, allocations: 68.11 kB / 0.8748 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003867/1.395, allocations: 5.242 MB / 0.88 GB, free: 212.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.395, allocations: 3.828 kB / 0.88 GB, free: 212.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/1.41, allocations: 7.523 MB / 0.8873 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/1.412, allocations: 0.7671 MB / 0.8881 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005457/1.413, allocations: 60.44 kB / 0.8881 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002863/1.415, allocations: 407.8 kB / 0.8885 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004166/1.416, allocations: 167.8 kB / 0.8887 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.416, allocations: 97.2 kB / 0.8888 GB, free: 209.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00225/1.418, allocations: 1.686 MB / 0.8904 GB, free: 209.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.3e-07/1.418, allocations: 0 / 0.8904 GB, free: 209.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003631/1.422, allocations: 0.9629 MB / 0.8913 GB, free: 209.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (251): * Single equations (assignments): 244 * 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 {(2,16,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.02053/1.443, allocations: 9.004 MB / 0.9001 GB, free: 206 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02125/1.464, allocations: 7.731 MB / 0.9077 GB, free: 204.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.464, allocations: 2 kB / 0.9077 GB, free: 204.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006407/1.47, allocations: 2.607 MB / 0.9102 GB, free: 203.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003888/1.474, allocations: 0.6467 MB / 0.9109 GB, free: 203.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06472/1.539, allocations: 31.69 MB / 0.9418 GB, free: 183.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/1.541, allocations: 2.37 MB / 0.9441 GB, free: 181.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00403/1.545, allocations: 1.103 MB / 0.9452 GB, free: 180.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/1.547, allocations: 1.358 MB / 0.9465 GB, free: 179.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.503e-06/1.547, allocations: 0 / 0.9465 GB, free: 179.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8009/2.348, allocations: 65.15 MB / 1.01 GB, free: 114.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/2.348, allocations: 280.8 kB / 1.01 GB, free: 114.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.763/6.111, allocations: 7.391 kB / 1.01 GB, free: 114.4 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)