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.0007508/0.0007508, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005438/0.005438, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.257/1.257, allocations: 223.2 MB / 240.3 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8076/0.8076, allocations: 132.3 MB / 423.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.000304, allocations: 8 kB / 0.5041 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4375, allocations: 81.58 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1912/0.6287, allocations: 158.4 MB / 0.7385 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03501/0.6638, allocations: 26.97 MB / 0.7648 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003609/0.6675, allocations: 75.56 kB / 0.7649 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002565/0.6701, allocations: 0.9993 MB / 0.7658 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005412/0.6755, allocations: 1.706 MB / 0.7675 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005274/0.6808, allocations: 1.743 MB / 0.7692 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007675/0.6884, allocations: 6.155 MB / 0.7752 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005453/0.6939, allocations: 3.971 MB / 0.7791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.6966, allocations: 1.59 MB / 0.7807 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.6998, allocations: 2.232 MB / 0.7828 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005407/0.7003, allocations: 136 kB / 0.783 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.7024, allocations: 0.7412 MB / 0.7837 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009157/0.7034, allocations: 0.8713 MB / 0.7845 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002198/0.7056, allocations: 1.869 MB / 0.7864 GB, free: 192 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006352/0.712, allocations: 6.198 MB / 0.7924 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.712, allocations: 0 / 0.7924 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.154e-06/0.712, allocations: 0 / 0.7924 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001376/0.7121, allocations: 0 / 0.7924 GB, free: 9.965 MB / 0.6231 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.008897/0.721, allocations: 4.311 MB / 0.7966 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.7211, allocations: 16.02 kB / 0.7966 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001143/0.7222, allocations: 0.5103 MB / 0.7971 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/0.7364, allocations: 2.959 MB / 0.8 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00506/0.7415, allocations: 2.504 MB / 0.8025 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/0.7417, allocations: 287.5 kB / 0.8027 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000787/0.7425, allocations: 368 kB / 0.8031 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01238/0.7549, allocations: 5.779 MB / 0.8087 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.655e-05/0.755, allocations: 0 / 0.8087 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004127/0.7554, allocations: 159.9 kB / 0.8089 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.358e-05/0.7555, allocations: 88 kB / 0.809 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01556/0.7711, allocations: 6.952 MB / 0.8158 GB, free: 1.812 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.3855/1.157, allocations: 17.42 MB / 0.8328 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/1.167, allocations: 4.494 MB / 0.8372 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006731/1.174, allocations: 2.944 MB / 0.84 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009503/1.175, allocations: 0.6754 MB / 0.8407 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006442/1.181, allocations: 2.733 MB / 0.8434 GB, free: 199.1 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=315): time 5.741e-06/1.181, allocations: 1.188 kB / 0.8434 GB, free: 199.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=315): time 0.02519/1.206, allocations: 9.753 MB / 0.8529 GB, free: 193.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.742e-05/1.206, allocations: 217.9 kB / 0.8531 GB, free: 193.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003273/1.21, allocations: 2.652 MB / 0.8557 GB, free: 192.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006717/1.21, allocations: 79.55 kB / 0.8558 GB, free: 192.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/1.211, allocations: 1.548 MB / 0.8573 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009536/1.212, allocations: 1.048 MB / 0.8583 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000369/1.213, allocations: 219.3 kB / 0.8585 GB, free: 189.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.172e-05/1.213, allocations: 301.1 kB / 0.8588 GB, free: 189.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004419/1.217, allocations: 2.171 MB / 0.8609 GB, free: 187.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004656/1.222, allocations: 2.521 MB / 0.8634 GB, free: 184.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00931/1.231, allocations: 4.699 MB / 0.868 GB, free: 179.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/1.231, allocations: 0 / 0.868 GB, free: 179.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01181/1.243, allocations: 5.763 MB / 0.8736 GB, free: 174 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/1.243, allocations: 8 kB / 0.8736 GB, free: 174 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/1.243, allocations: 4.156 kB / 0.8736 GB, free: 174 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/1.245, allocations: 0.824 MB / 0.8744 GB, free: 173.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003849/1.249, allocations: 0.8106 MB / 0.8752 GB, free: 172.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008498/1.257, allocations: 7.011 MB / 0.8821 GB, free: 165.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00442/1.262, allocations: 0.5945 MB / 0.8826 GB, free: 164.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005352/1.262, allocations: 115.9 kB / 0.8827 GB, free: 164.5 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 (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.002246/1.264, allocations: 1.028 MB / 0.8838 GB, free: 163.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006655/1.265, allocations: 316.1 kB / 0.8841 GB, free: 163.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/1.278, allocations: 6.391 MB / 0.8903 GB, free: 156.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/1.278, allocations: 35.98 kB / 0.8903 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/1.278, allocations: 12 kB / 0.8903 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/1.278, allocations: 11.95 kB / 0.8904 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/1.297, allocations: 10.75 MB / 0.9008 GB, free: 145.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/1.297, allocations: 0 / 0.9008 GB, free: 145.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003742/1.3, allocations: 0.7788 MB / 0.9016 GB, free: 145.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/1.302, allocations: 0.7301 MB / 0.9023 GB, free: 144.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003497/1.302, allocations: 83.94 kB / 0.9024 GB, free: 144.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008961/1.311, allocations: 9.808 MB / 0.912 GB, free: 134 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.311, allocations: 3.938 kB / 0.912 GB, free: 134 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0183/1.33, allocations: 9.083 MB / 0.9209 GB, free: 124.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002038/1.332, allocations: 0.9451 MB / 0.9218 GB, free: 123.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007649/1.333, allocations: 59.94 kB / 0.9218 GB, free: 123.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003526/1.336, allocations: 447.3 kB / 0.9223 GB, free: 123.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005378/1.337, allocations: 210.3 kB / 0.9225 GB, free: 123.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002833/1.337, allocations: 115.9 kB / 0.9226 GB, free: 123 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002785/1.34, allocations: 1.92 MB / 0.9244 GB, free: 121.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/1.34, allocations: 0 / 0.9244 GB, free: 121.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003474/1.343, allocations: 1.23 MB / 0.9256 GB, free: 119.9 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 (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.01914/1.362, allocations: 10.58 MB / 0.936 GB, free: 109.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.374, allocations: 5.489 MB / 0.9413 GB, free: 104.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/1.374, allocations: 4 kB / 0.9413 GB, free: 104.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006274/1.38, allocations: 3.343 MB / 0.9446 GB, free: 100.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004268/1.384, allocations: 0.71 MB / 0.9453 GB, free: 100.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08111/1.465, allocations: 39.12 MB / 0.9835 GB, free: 59.33 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003459/1.469, allocations: 2.702 MB / 0.9861 GB, free: 56.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00613/1.475, allocations: 1.158 MB / 0.9873 GB, free: 55.44 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002721/1.478, allocations: 1.639 MB / 0.9889 GB, free: 53.8 MB / 0.6387 GB Notification: Performance of SimCode: time 9.62e-07/1.478, allocations: 0 / 0.9889 GB, free: 53.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7802/2.258, allocations: 77.25 MB / 1.064 GB, free: 9.262 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/2.258, allocations: 289.8 kB / 1.065 GB, free: 8.883 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.486/6.744, allocations: 4 kB / 1.065 GB, free: 8.879 MB / 0.67 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/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)