Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008437/0.0008437, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0009393/0.0009393, allocations: 172.7 kB / 15.95 MB, free: 208 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.182/1.182, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6526/0.6526, allocations: 132.4 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002621, allocations: 8 kB / 0.5034 GB, free: 4.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3261, allocations: 81.58 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1407/0.4668, allocations: 146.6 MB / 0.7262 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02698/0.4938, allocations: 25.18 MB / 0.7508 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.4961, allocations: 75.56 kB / 0.7509 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.4981, allocations: 0.8904 MB / 0.7517 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003542/0.5016, allocations: 1.486 MB / 0.7532 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003078/0.5047, allocations: 1.295 MB / 0.7545 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004812/0.5095, allocations: 4.857 MB / 0.7592 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003783/0.5133, allocations: 3.124 MB / 0.7623 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.5152, allocations: 1.424 MB / 0.7636 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.5174, allocations: 1.933 MB / 0.7655 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.5177, allocations: 120 kB / 0.7657 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.519, allocations: 0.6243 MB / 0.7663 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005984/0.5196, allocations: 0.7703 MB / 0.767 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005526/0.5202, allocations: 0.6754 MB / 0.7677 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003429/0.5236, allocations: 4.684 MB / 0.7722 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.5236, allocations: 4 kB / 0.7723 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5236, allocations: 0 / 0.7723 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.875e-05/0.5237, allocations: 0 / 0.7723 GB, free: 14.38 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.006274/0.53, allocations: 4.057 MB / 0.7762 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.53, allocations: 12.03 kB / 0.7762 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.5409, allocations: 2.909 MB / 0.7791 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003194/0.5441, allocations: 2.285 MB / 0.7813 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.5443, allocations: 258.9 kB / 0.7815 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004382/0.5447, allocations: 343.9 kB / 0.7819 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009698/0.5544, allocations: 5.401 MB / 0.7871 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-05/0.5545, allocations: 0 / 0.7871 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003193/0.5548, allocations: 144 kB / 0.7873 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/0.5549, allocations: 84 kB / 0.7874 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/0.5671, allocations: 6.59 MB / 0.7938 GB, free: 8.074 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.02033/0.5874, allocations: 15.75 MB / 0.8092 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006891/0.5943, allocations: 4.075 MB / 0.8132 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004416/0.5987, allocations: 2.745 MB / 0.8158 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007457/0.5995, allocations: 0.6736 MB / 0.8165 GB, free: 68 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2343/0.8338, allocations: 2.566 MB / 0.819 GB, free: 212.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=288): time 6.241e-06/0.8339, allocations: 0 / 0.819 GB, free: 212.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288): time 0.01855/0.8524, allocations: 8.345 MB / 0.8271 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.8525, allocations: 214.1 kB / 0.8274 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/0.8553, allocations: 2.493 MB / 0.8298 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002166/0.8555, allocations: 74.02 kB / 0.8299 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008393/0.8563, allocations: 1.43 MB / 0.8313 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005919/0.8569, allocations: 0.961 MB / 0.8322 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.8571, allocations: 50.72 kB / 0.8322 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.8572, allocations: 408.2 kB / 0.8326 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003798/0.861, allocations: 2.05 MB / 0.8346 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004003/0.865, allocations: 2.37 MB / 0.8369 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003985/0.869, allocations: 2.222 MB / 0.8391 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.8691, allocations: 1.438 kB / 0.8391 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.008923/0.878, allocations: 5.314 MB / 0.8443 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.878, allocations: 7.906 kB / 0.8443 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.878, allocations: 3.969 kB / 0.8443 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009615/0.879, allocations: 0.5463 MB / 0.8449 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003095/0.8821, allocations: 0.8015 MB / 0.8456 GB, free: 201 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005231/0.8874, allocations: 5.291 MB / 0.8508 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/0.8901, allocations: 0.5773 MB / 0.8514 GB, free: 196.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/0.8903, allocations: 117.9 kB / 0.8515 GB, free: 196.8 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: 13 ($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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * 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 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001471/0.8918, allocations: 0.9626 MB / 0.8524 GB, free: 196.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/0.8923, allocations: 284.4 kB / 0.8527 GB, free: 196 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009954/0.9022, allocations: 5.907 MB / 0.8585 GB, free: 190 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.9022, allocations: 28 kB / 0.8585 GB, free: 190 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.9023, allocations: 8 kB / 0.8585 GB, free: 190 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/0.9023, allocations: 21.7 kB / 0.8585 GB, free: 190 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/0.9155, allocations: 9.884 MB / 0.8682 GB, free: 180 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.9155, allocations: 0 / 0.8682 GB, free: 180 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002927/0.9185, allocations: 0.7489 MB / 0.8689 GB, free: 179.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.9195, allocations: 0.5373 MB / 0.8694 GB, free: 178.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/0.9197, allocations: 77.91 kB / 0.8695 GB, free: 178.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005355/0.9251, allocations: 6.937 MB / 0.8763 GB, free: 171.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9251, allocations: 0 / 0.8763 GB, free: 171.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/0.9389, allocations: 8.394 MB / 0.8845 GB, free: 163 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/0.9404, allocations: 0.887 MB / 0.8853 GB, free: 162.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00058/0.941, allocations: 52 kB / 0.8854 GB, free: 162 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002609/0.9436, allocations: 431.3 kB / 0.8858 GB, free: 161.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003315/0.9439, allocations: 190.1 kB / 0.886 GB, free: 161.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002233/0.9442, allocations: 103.9 kB / 0.8861 GB, free: 161.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001954/0.9461, allocations: 1.811 MB / 0.8878 GB, free: 159.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9461, allocations: 0 / 0.8878 GB, free: 159.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002467/0.9486, allocations: 1.111 MB / 0.8889 GB, free: 158.4 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 36,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002/0.9506, allocations: 1.017 MB / 0.8899 GB, free: 157.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008212/0.9588, allocations: 5.092 MB / 0.8949 GB, free: 152.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9588, allocations: 0 / 0.8949 GB, free: 152.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004381/0.9632, allocations: 2.953 MB / 0.8978 GB, free: 149.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.9657, allocations: 0.6581 MB / 0.8984 GB, free: 149.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.977, allocations: 9.731 MB / 0.9079 GB, free: 139.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/0.9788, allocations: 2.544 MB / 0.9104 GB, free: 136.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003406/0.9822, allocations: 1.121 MB / 0.9115 GB, free: 135.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009779/0.9832, allocations: 271.2 kB / 0.9118 GB, free: 135.4 MB / 0.6387 GB Notification: Performance of SimCode: time 3.9e-07/0.9832, allocations: 0 / 0.9118 GB, free: 135.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.05221/1.035, allocations: 46.01 MB / 0.9567 GB, free: 89.75 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)