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: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001707/0.001707, allocations: 191.8 kB / 16.13 MB, free: 6.66 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.373/1.373, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7443/0.7443, allocations: 132.2 MB / 422.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 65.11 kB / 0.5011 GB, free: 9.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2016, allocations: 80.21 MB / 0.5794 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5078/0.7095, allocations: 160.7 MB / 0.7363 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03717/0.7467, allocations: 27.26 MB / 0.763 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005036/0.7518, allocations: 79.62 kB / 0.7631 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00278/0.7546, allocations: 1.003 MB / 0.764 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006011/0.7607, allocations: 1.702 MB / 0.7657 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004941/0.7656, allocations: 1.768 MB / 0.7674 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008521/0.7741, allocations: 6.153 MB / 0.7734 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006132/0.7803, allocations: 4.347 MB / 0.7777 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003652/0.784, allocations: 1.918 MB / 0.7795 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00385/0.7879, allocations: 2.65 MB / 0.7821 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007188/0.7886, allocations: 292 kB / 0.7824 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.7911, allocations: 0.878 MB / 0.7833 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.7922, allocations: 1.105 MB / 0.7843 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00266/0.7949, allocations: 2.129 MB / 0.7864 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007519/0.8024, allocations: 6.43 MB / 0.7927 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.8024, allocations: 0 / 0.7927 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8024, allocations: 0 / 0.7927 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001939/0.8026, allocations: 0 / 0.7927 GB, free: 8.695 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.0118/0.8144, allocations: 5.1 MB / 0.7977 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.8145, allocations: 8.031 kB / 0.7977 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/0.8286, allocations: 2.834 MB / 0.8005 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00612/0.8347, allocations: 2.519 MB / 0.8029 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002335/0.835, allocations: 279.5 kB / 0.8032 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/0.8361, allocations: 368 kB / 0.8035 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01566/0.8517, allocations: 5.728 MB / 0.8091 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.3e-05/0.8519, allocations: 4 kB / 0.8091 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004525/0.8524, allocations: 152 kB / 0.8093 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.272e-05/0.8524, allocations: 95.94 kB / 0.8094 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01827/0.8707, allocations: 6.862 MB / 0.8161 GB, free: 0.5352 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.04076/0.9115, allocations: 17.36 MB / 0.833 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01135/0.9229, allocations: 4.485 MB / 0.8374 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007086/0.9301, allocations: 2.943 MB / 0.8403 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/0.9315, allocations: 0.6699 MB / 0.8409 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007816/0.9393, allocations: 2.737 MB / 0.8436 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=315): time 8.386e-06/0.9394, allocations: 0 / 0.8436 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of matching and sorting (n=315): time 0.03208/0.9715, allocations: 9.69 MB / 0.8531 GB, free: 9.57 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/0.9717, allocations: 210.4 kB / 0.8533 GB, free: 9.32 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005755/0.9775, allocations: 2.658 MB / 0.8559 GB, free: 6.648 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001008/0.9785, allocations: 81.7 kB / 0.8559 GB, free: 6.562 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001927/0.9804, allocations: 1.538 MB / 0.8575 GB, free: 5.008 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002033/0.9825, allocations: 1.051 MB / 0.8585 GB, free: 3.941 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002618/0.9851, allocations: 0.537 MB / 0.859 GB, free: 3.398 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.9853, allocations: 305.1 kB / 0.8593 GB, free: 3.098 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005824/0.9911, allocations: 2.179 MB / 0.8614 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3964/1.387, allocations: 2.524 MB / 0.8639 GB, free: 218 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/1.398, allocations: 4.711 MB / 0.8685 GB, free: 217.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.398, allocations: 2.812 kB / 0.8685 GB, free: 217.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01246/1.41, allocations: 5.802 MB / 0.8742 GB, free: 215.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/1.41, allocations: 5.812 kB / 0.8742 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/1.41, allocations: 8.781 kB / 0.8742 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/1.412, allocations: 0.8371 MB / 0.875 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003804/1.416, allocations: 0.8135 MB / 0.8758 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008587/1.424, allocations: 6.993 MB / 0.8826 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004456/1.429, allocations: 0.5934 MB / 0.8832 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004858/1.429, allocations: 123.1 kB / 0.8833 GB, free: 211.5 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: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (291): * Single equations (assignments): 290 * 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.00242/1.432, allocations: 1.025 MB / 0.8843 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007827/1.433, allocations: 309.2 kB / 0.8846 GB, free: 210.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/1.447, allocations: 6.384 MB / 0.8908 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.296e-05/1.447, allocations: 31.66 kB / 0.8909 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-05/1.447, allocations: 9.312 kB / 0.8909 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.258e-05/1.447, allocations: 18.11 kB / 0.8909 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02313/1.47, allocations: 10.71 MB / 0.9014 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/1.47, allocations: 0 / 0.9014 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00417/1.474, allocations: 0.7676 MB / 0.9021 GB, free: 204.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/1.476, allocations: 0.7318 MB / 0.9028 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005352/1.477, allocations: 93.53 kB / 0.9029 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/1.488, allocations: 9.805 MB / 0.9125 GB, free: 197.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.488, allocations: 0.75 kB / 0.9125 GB, free: 197.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02405/1.512, allocations: 9.079 MB / 0.9214 GB, free: 194.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003023/1.515, allocations: 0.8909 MB / 0.9222 GB, free: 193.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001367/1.516, allocations: 74.27 kB / 0.9223 GB, free: 193.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004177/1.52, allocations: 426.8 kB / 0.9227 GB, free: 193.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000996/1.522, allocations: 211.4 kB / 0.9229 GB, free: 193.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006178/1.522, allocations: 105 kB / 0.923 GB, free: 193.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00456/1.527, allocations: 1.923 MB / 0.9249 GB, free: 193 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.7e-07/1.527, allocations: 0 / 0.9249 GB, free: 193 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005328/1.532, allocations: 1.231 MB / 0.9261 GB, free: 192.7 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 (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.002967/1.535, allocations: 1.04 MB / 0.9271 GB, free: 192.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01237/1.547, allocations: 5.506 MB / 0.9325 GB, free: 190.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.547, allocations: 4.188 kB / 0.9325 GB, free: 190.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006972/1.554, allocations: 3.327 MB / 0.9357 GB, free: 189.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005191/1.56, allocations: 0.7063 MB / 0.9364 GB, free: 189.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/1.579, allocations: 10.68 MB / 0.9468 GB, free: 179.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003362/1.583, allocations: 2.698 MB / 0.9495 GB, free: 176.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005639/1.588, allocations: 1.158 MB / 0.9506 GB, free: 175.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001994/1.59, allocations: 279.2 kB / 0.9509 GB, free: 175.1 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/1.59, allocations: 0 / 0.9509 GB, free: 175.1 MB / 0.67 GB Notification: Performance of Templates: time 0.07959/1.67, allocations: 52.52 MB / 1.002 GB, free: 123 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (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 & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)