Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_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.001683/0.001683, 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.00209/0.00209, allocations: 196.6 kB / 16.14 MB, free: 6.648 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.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9209/0.9209, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 68.73 kB / 0.5047 GB, free: 5.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2004, allocations: 80.93 MB / 0.5837 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5197/0.7201, allocations: 160.7 MB / 0.7406 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03953/0.7597, allocations: 27.26 MB / 0.7672 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007622/0.7674, allocations: 75.62 kB / 0.7673 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003575/0.7711, allocations: 1.003 MB / 0.7683 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006412/0.7775, allocations: 1.703 MB / 0.77 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004941/0.7825, allocations: 1.754 MB / 0.7717 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007745/0.7902, allocations: 6.162 MB / 0.7777 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005522/0.7958, allocations: 4.349 MB / 0.7819 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/0.799, allocations: 1.922 MB / 0.7838 GB, free: 272 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00391/0.8029, allocations: 2.646 MB / 0.7864 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008133/0.8038, allocations: 288 kB / 0.7867 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.8063, allocations: 0.8896 MB / 0.7875 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.8074, allocations: 1.109 MB / 0.7886 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003079/0.8104, allocations: 2.117 MB / 0.7907 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007401/0.8179, allocations: 6.43 MB / 0.797 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.8179, allocations: 0 / 0.797 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8179, allocations: 0 / 0.797 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002561/0.8182, allocations: 0 / 0.797 GB, free: 2.746 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.01331/0.8315, allocations: 5.1 MB / 0.802 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.8315, allocations: 12.03 kB / 0.802 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/0.8458, allocations: 2.834 MB / 0.8047 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006208/0.852, allocations: 2.512 MB / 0.8072 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/0.8523, allocations: 279.5 kB / 0.8075 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007247/0.853, allocations: 371.8 kB / 0.8078 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/0.8656, allocations: 5.732 MB / 0.8134 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.412e-05/0.8657, allocations: 7.875 kB / 0.8134 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003958/0.8661, allocations: 156 kB / 0.8136 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-05/0.8662, allocations: 91.94 kB / 0.8136 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/0.8817, allocations: 6.854 MB / 0.8203 GB, free: 10.58 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.0339/0.9156, allocations: 17.36 MB / 0.8373 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.9263, allocations: 4.485 MB / 0.8417 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00634/0.9327, allocations: 2.939 MB / 0.8445 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.9339, allocations: 0.6777 MB / 0.8452 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006806/0.9407, allocations: 2.738 MB / 0.8479 GB, free: 13.45 MB / 0.67 GB Notification: Performance of pre-optimization done (n=315): time 7.284e-06/0.9408, allocations: 0 / 0.8479 GB, free: 13.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=315): time 0.02981/0.9706, allocations: 9.69 MB / 0.8573 GB, free: 3.621 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/0.9708, allocations: 222.4 kB / 0.8576 GB, free: 3.359 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005397/0.9762, allocations: 2.654 MB / 0.8602 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008334/0.9771, allocations: 77.7 kB / 0.8602 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.393/1.37, allocations: 1.535 MB / 0.8617 GB, free: 215.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001862/1.372, allocations: 1.046 MB / 0.8627 GB, free: 214.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/1.373, allocations: 0.546 MB / 0.8633 GB, free: 214.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.468e-05/1.373, allocations: 303.1 kB / 0.8636 GB, free: 214.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004655/1.378, allocations: 2.182 MB / 0.8657 GB, free: 214.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005185/1.383, allocations: 2.523 MB / 0.8682 GB, free: 213.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009804/1.393, allocations: 4.709 MB / 0.8728 GB, free: 211.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-05/1.393, allocations: 4.531 kB / 0.8728 GB, free: 211.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01378/1.407, allocations: 5.799 MB / 0.8784 GB, free: 210 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/1.407, allocations: 8.281 kB / 0.8784 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.407, allocations: 2.656 kB / 0.8784 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/1.409, allocations: 0.8441 MB / 0.8793 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004101/1.413, allocations: 0.8053 MB / 0.8801 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008775/1.422, allocations: 7.002 MB / 0.8869 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004659/1.426, allocations: 0.5857 MB / 0.8875 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007522/1.427, allocations: 124.1 kB / 0.8876 GB, free: 205.7 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.002559/1.43, allocations: 1.026 MB / 0.8886 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000933/1.431, allocations: 306.4 kB / 0.8889 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/1.446, allocations: 6.384 MB / 0.8951 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.233e-05/1.446, allocations: 40.19 kB / 0.8951 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.136e-05/1.446, allocations: 9.469 kB / 0.8952 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.081e-05/1.446, allocations: 13.83 kB / 0.8952 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02483/1.471, allocations: 10.71 MB / 0.9056 GB, free: 199 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/1.471, allocations: 1.312 kB / 0.9056 GB, free: 199 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004167/1.475, allocations: 0.7718 MB / 0.9064 GB, free: 198.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/1.477, allocations: 0.7399 MB / 0.9071 GB, free: 198.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004051/1.477, allocations: 86.3 kB / 0.9072 GB, free: 198.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/1.488, allocations: 9.795 MB / 0.9168 GB, free: 191.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.488, allocations: 1.984 kB / 0.9168 GB, free: 191.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02329/1.512, allocations: 9.081 MB / 0.9256 GB, free: 188.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002473/1.514, allocations: 0.8937 MB / 0.9265 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007021/1.515, allocations: 59.75 kB / 0.9266 GB, free: 187.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003154/1.518, allocations: 437.7 kB / 0.927 GB, free: 187.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005462/1.519, allocations: 207.2 kB / 0.9272 GB, free: 187.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002578/1.519, allocations: 112.3 kB / 0.9273 GB, free: 187.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003616/1.523, allocations: 1.925 MB / 0.9292 GB, free: 187.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/1.523, allocations: 4 kB / 0.9292 GB, free: 187.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004304/1.527, allocations: 1.232 MB / 0.9304 GB, free: 186.8 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.002504/1.529, allocations: 1.027 MB / 0.9314 GB, free: 186.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01092/1.54, allocations: 5.51 MB / 0.9367 GB, free: 184.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.54, allocations: 0 / 0.9367 GB, free: 184.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006077/1.546, allocations: 3.322 MB / 0.94 GB, free: 181.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/1.55, allocations: 0.7207 MB / 0.9407 GB, free: 181.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/1.566, allocations: 10.66 MB / 0.9511 GB, free: 170.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/1.567, allocations: 2.698 MB / 0.9537 GB, free: 167.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004462/1.572, allocations: 1.162 MB / 0.9549 GB, free: 166.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/1.573, allocations: 283.2 kB / 0.9551 GB, free: 166.3 MB / 0.67 GB Notification: Performance of SimCode: time 9.32e-07/1.573, allocations: 0 / 0.9551 GB, free: 166.3 MB / 0.67 GB Notification: Performance of Templates: time 0.08274/1.656, allocations: 52.53 MB / 1.006 GB, free: 114.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)