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.001066/0.001066, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001066/0.001066, allocations: 177.3 kB / 15.95 MB, free: 216 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.258/1.258, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.863/0.863, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002996, allocations: 12.62 kB / 0.5068 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 82.31 MB / 0.5872 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.4235/0.5682, allocations: 137.8 MB / 0.7217 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0331/0.6014, allocations: 23.44 MB / 0.7446 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004365/0.6058, allocations: 73 kB / 0.7447 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002932/0.6087, allocations: 1.04 MB / 0.7457 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008201/0.617, allocations: 2.34 MB / 0.748 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006306/0.6233, allocations: 1.866 MB / 0.7498 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007187/0.6305, allocations: 3.618 MB / 0.7533 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004365/0.6349, allocations: 3.368 MB / 0.7566 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.6372, allocations: 1.521 MB / 0.7581 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002588/0.6398, allocations: 1.906 MB / 0.76 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003691/0.6402, allocations: 140 kB / 0.7601 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.642, allocations: 0.6126 MB / 0.7607 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00082/0.6429, allocations: 0.8367 MB / 0.7615 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008124/0.6437, allocations: 0.7494 MB / 0.7622 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00527/0.649, allocations: 5.097 MB / 0.7672 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.649, allocations: 0 / 0.7672 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/0.649, allocations: 0 / 0.7672 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001538/0.6492, allocations: 0 / 0.7672 GB, free: 3.711 MB / 0.5762 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.009198/0.6584, allocations: 4.367 MB / 0.7715 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.6584, allocations: 15.97 kB / 0.7715 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/0.6713, allocations: 2.947 MB / 0.7744 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005178/0.6765, allocations: 2.393 MB / 0.7767 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/0.6768, allocations: 283.5 kB / 0.777 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007445/0.6776, allocations: 368 kB / 0.7773 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.6886, allocations: 5.708 MB / 0.7829 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.059e-05/0.6887, allocations: 4 kB / 0.7829 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003593/0.6891, allocations: 156 kB / 0.7831 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.006e-05/0.6892, allocations: 88 kB / 0.7832 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01434/0.7035, allocations: 6.92 MB / 0.7899 GB, free: 12.25 MB / 0.6075 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.02791/0.7315, allocations: 17.43 MB / 0.8069 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008542/0.74, allocations: 4.473 MB / 0.8113 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008704/0.7409, allocations: 0.6738 MB / 0.812 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005292/0.7462, allocations: 2.713 MB / 0.8146 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=315): time 4.779e-06/0.7462, allocations: 0 / 0.8146 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of matching and sorting (n=315): time 0.02321/0.7695, allocations: 9.63 MB / 0.824 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.7696, allocations: 222.4 kB / 0.8242 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/0.7733, allocations: 2.662 MB / 0.8268 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005032/0.7739, allocations: 81.7 kB / 0.8269 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.7751, allocations: 1.542 MB / 0.8284 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001062/0.7762, allocations: 1.047 MB / 0.8294 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.7764, allocations: 56.11 kB / 0.8295 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.7766, allocations: 419.4 kB / 0.8299 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004516/0.7811, allocations: 2.16 MB / 0.832 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004736/0.7859, allocations: 2.501 MB / 0.8344 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004845/0.7907, allocations: 2.339 MB / 0.8367 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.7908, allocations: 4 kB / 0.8367 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01187/0.8026, allocations: 5.744 MB / 0.8423 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.8027, allocations: 4 kB / 0.8423 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.8027, allocations: 7.953 kB / 0.8423 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001713/0.8044, allocations: 0.8357 MB / 0.8432 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003734/0.8082, allocations: 0.7956 MB / 0.8439 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.8182, allocations: 7.22 MB / 0.851 GB, free: 12.26 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003935/0.8222, allocations: 0.5995 MB / 0.8516 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006064/0.8228, allocations: 115.9 kB / 0.8517 GB, free: 11.54 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: 11 ($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) * 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 (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 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002486/0.8253, allocations: 1.025 MB / 0.8527 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008252/0.8261, allocations: 308.1 kB / 0.853 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/0.8399, allocations: 6.397 MB / 0.8592 GB, free: 3.742 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.84, allocations: 35.94 kB / 0.8593 GB, free: 3.707 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.28e-05/0.84, allocations: 11.98 kB / 0.8593 GB, free: 3.695 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.24e-05/0.84, allocations: 15.91 kB / 0.8593 GB, free: 3.68 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3212/1.161, allocations: 10.73 MB / 0.8698 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.161, allocations: 0 / 0.8698 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00337/1.165, allocations: 0.7699 MB / 0.8705 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001597/1.166, allocations: 0.7291 MB / 0.8712 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/1.167, allocations: 85.02 kB / 0.8713 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008924/1.175, allocations: 10.02 MB / 0.8811 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.176, allocations: 3.938 kB / 0.8811 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01571/1.191, allocations: 9.059 MB / 0.8899 GB, free: 200.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002034/1.193, allocations: 0.9487 MB / 0.8909 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004275/1.194, allocations: 57.91 kB / 0.8909 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002747/1.196, allocations: 448.7 kB / 0.8914 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004081/1.197, allocations: 207.5 kB / 0.8916 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002192/1.197, allocations: 109.3 kB / 0.8917 GB, free: 199.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002219/1.199, allocations: 1.924 MB / 0.8935 GB, free: 198.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/1.199, allocations: 2.406 kB / 0.8935 GB, free: 198.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003192/1.203, allocations: 1.229 MB / 0.8947 GB, free: 198.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002358/1.205, allocations: 1.046 MB / 0.8958 GB, free: 198.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0112/1.216, allocations: 5.47 MB / 0.9011 GB, free: 196.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.216, allocations: 1.406 kB / 0.9011 GB, free: 196.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006192/1.222, allocations: 3.326 MB / 0.9044 GB, free: 195.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/1.226, allocations: 0.6646 MB / 0.905 GB, free: 195.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/1.244, allocations: 10.45 MB / 0.9152 GB, free: 189.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003142/1.247, allocations: 2.772 MB / 0.9179 GB, free: 188.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005309/1.252, allocations: 1.166 MB / 0.919 GB, free: 188.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/1.254, allocations: 281.6 kB / 0.9193 GB, free: 188.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.833e-06/1.254, allocations: 0 / 0.9193 GB, free: 188.6 MB / 0.67 GB Notification: Performance of Templates: time 0.07404/1.328, allocations: 50.74 MB / 0.9689 GB, free: 152.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: