Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_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.001509/0.001509, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001567/0.001567, allocations: 189.2 kB / 16.25 MB, free: 6.633 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9787/0.9787, allocations: 135.6 MB / 425.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001976, allocations: 68.8 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1694, allocations: 81.01 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.4098/0.5793, allocations: 159.5 MB / 0.7402 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0378/0.6171, allocations: 26.68 MB / 0.7663 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003086/0.6202, allocations: 79.56 kB / 0.7664 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002886/0.6232, allocations: 0.9411 MB / 0.7673 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005338/0.6285, allocations: 1.606 MB / 0.7689 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004658/0.6332, allocations: 1.614 MB / 0.7704 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007324/0.6405, allocations: 5.214 MB / 0.7755 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006799/0.6474, allocations: 4.526 MB / 0.78 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00426/0.6517, allocations: 2.148 MB / 0.7821 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004542/0.6562, allocations: 2.639 MB / 0.7846 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001814/0.6581, allocations: 484 kB / 0.7851 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003276/0.6614, allocations: 1.069 MB / 0.7861 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002027/0.6634, allocations: 1.25 MB / 0.7874 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003723/0.6671, allocations: 2.181 MB / 0.7895 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007653/0.6748, allocations: 6.107 MB / 0.7955 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.6749, allocations: 0 / 0.7955 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.038e-06/0.6749, allocations: 0 / 0.7955 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001446/0.675, allocations: 7.938 kB / 0.7955 GB, free: 4.211 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.01048/0.6855, allocations: 4.735 MB / 0.8001 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.6856, allocations: 19.97 kB / 0.8001 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/0.6988, allocations: 2.784 MB / 0.8028 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004859/0.7037, allocations: 2.373 MB / 0.8051 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.704, allocations: 258.9 kB / 0.8054 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006446/0.7046, allocations: 335.9 kB / 0.8057 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/0.7167, allocations: 5.385 MB / 0.811 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-05/0.7168, allocations: 0 / 0.811 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004186/0.7172, allocations: 147.9 kB / 0.8111 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.095e-05/0.7173, allocations: 84 kB / 0.8112 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01642/0.7337, allocations: 6.52 MB / 0.8176 GB, free: 13.35 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.02933/0.7631, allocations: 15.72 MB / 0.8329 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009121/0.7722, allocations: 4.08 MB / 0.8369 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005353/0.7776, allocations: 2.663 MB / 0.8395 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.7786, allocations: 0.6658 MB / 0.8401 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005715/0.7844, allocations: 2.573 MB / 0.8427 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=288): time 4.448e-06/0.7844, allocations: 0 / 0.8427 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of matching and sorting (n=288): time 0.02082/0.8052, allocations: 8.398 MB / 0.8509 GB, free: 10.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.8054, allocations: 214.2 kB / 0.8511 GB, free: 10.06 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/0.8088, allocations: 2.505 MB / 0.8535 GB, free: 7.535 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003468/0.8092, allocations: 73.7 kB / 0.8536 GB, free: 7.457 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001346/0.8105, allocations: 1.431 MB / 0.855 GB, free: 6.008 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/0.8116, allocations: 0.9589 MB / 0.8559 GB, free: 5.035 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00099/0.8126, allocations: 0.5166 MB / 0.8564 GB, free: 4.512 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.8128, allocations: 309 kB / 0.8567 GB, free: 4.207 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004639/0.8174, allocations: 2.054 MB / 0.8587 GB, free: 2.148 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2735/1.091, allocations: 2.369 MB / 0.861 GB, free: 214.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009341/1.1, allocations: 4.435 MB / 0.8654 GB, free: 213.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/1.1, allocations: 2.938 kB / 0.8654 GB, free: 213.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01113/1.111, allocations: 5.323 MB / 0.8706 GB, free: 212.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/1.112, allocations: 7.469 kB / 0.8706 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/1.112, allocations: 3.219 kB / 0.8706 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/1.113, allocations: 0.547 MB / 0.8711 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003521/1.116, allocations: 0.7918 MB / 0.8719 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006089/1.122, allocations: 5.722 MB / 0.8775 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003388/1.126, allocations: 0.5582 MB / 0.878 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/1.126, allocations: 118.2 kB / 0.8781 GB, free: 208.8 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 (282): * Single equations (assignments): 281 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001584/1.128, allocations: 0.9787 MB / 0.8791 GB, free: 208.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005059/1.128, allocations: 281.9 kB / 0.8793 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/1.139, allocations: 5.893 MB / 0.8851 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/1.139, allocations: 28.81 kB / 0.8851 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.139, allocations: 11.09 kB / 0.8851 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/1.139, allocations: 17.06 kB / 0.8852 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/1.155, allocations: 9.879 MB / 0.8948 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/1.155, allocations: 0 / 0.8948 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003534/1.158, allocations: 0.7478 MB / 0.8955 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/1.16, allocations: 0.5305 MB / 0.8961 GB, free: 202.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002884/1.16, allocations: 79.53 kB / 0.8961 GB, free: 202.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008331/1.168, allocations: 7.556 MB / 0.9035 GB, free: 197.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/1.168, allocations: 1.781 kB / 0.9035 GB, free: 197.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02087/1.189, allocations: 8.394 MB / 0.9117 GB, free: 194.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002217/1.192, allocations: 0.8372 MB / 0.9125 GB, free: 193.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005545/1.192, allocations: 64.25 kB / 0.9126 GB, free: 193.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002923/1.195, allocations: 423.9 kB / 0.913 GB, free: 193.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005168/1.196, allocations: 189.1 kB / 0.9132 GB, free: 193.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000251/1.196, allocations: 105 kB / 0.9133 GB, free: 193.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002467/1.198, allocations: 1.824 MB / 0.9151 GB, free: 192.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/1.198, allocations: 1.312 kB / 0.9151 GB, free: 192.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002847/1.201, allocations: 1.108 MB / 0.9161 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: 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 (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 {(4,36,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.003237/1.204, allocations: 1.025 MB / 0.9171 GB, free: 192.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01965/1.224, allocations: 8.62 MB / 0.9256 GB, free: 190.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/1.224, allocations: 0 / 0.9256 GB, free: 190.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005301/1.229, allocations: 2.954 MB / 0.9284 GB, free: 189.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/1.232, allocations: 0.7208 MB / 0.9291 GB, free: 189.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/1.245, allocations: 9.894 MB / 0.9388 GB, free: 182.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/1.246, allocations: 2.553 MB / 0.9413 GB, free: 180.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003928/1.25, allocations: 1.135 MB / 0.9424 GB, free: 179.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.251, allocations: 271.2 kB / 0.9427 GB, free: 179 MB / 0.67 GB Notification: Performance of SimCode: time 8.82e-07/1.251, allocations: 0 / 0.9427 GB, free: 179 MB / 0.67 GB Notification: Performance of Templates: time 0.06156/1.313, allocations: 49.56 MB / 0.9911 GB, free: 129.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)