Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009818/0.0009819, allocations: 95 kB / 15.05 MB, free: 1.109 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.000852/0.0008521, allocations: 181.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.222/1.222, allocations: 223.2 MB / 239.9 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9211/0.9211, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002849, allocations: 4 kB / 0.5068 GB, free: 5.094 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1581, allocations: 82.3 MB / 0.5872 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.3891/0.5472, allocations: 135.9 MB / 0.7199 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02973/0.577, allocations: 22.74 MB / 0.7421 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002811/0.5799, allocations: 69.06 kB / 0.7422 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.5821, allocations: 0.9595 MB / 0.7431 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006275/0.5884, allocations: 2.137 MB / 0.7452 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00506/0.5935, allocations: 1.668 MB / 0.7468 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005464/0.599, allocations: 2.903 MB / 0.7497 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00382/0.6028, allocations: 2.937 MB / 0.7526 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.6047, allocations: 1.319 MB / 0.7538 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.6066, allocations: 1.622 MB / 0.7554 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.6068, allocations: 104 kB / 0.7555 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.6083, allocations: 0.5853 MB / 0.7561 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006264/0.609, allocations: 0.7003 MB / 0.7568 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006039/0.6096, allocations: 0.6286 MB / 0.7574 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004205/0.6138, allocations: 4.353 MB / 0.7616 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.6138, allocations: 0 / 0.7616 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6138, allocations: 0 / 0.7616 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.091e-05/0.6139, allocations: 0 / 0.7616 GB, free: 9.273 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.007179/0.6211, allocations: 3.849 MB / 0.7654 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.6211, allocations: 8.031 kB / 0.7654 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/0.6338, allocations: 2.885 MB / 0.7682 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005241/0.6391, allocations: 2.151 MB / 0.7703 GB, free: 232 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.6393, allocations: 242.5 kB / 0.7706 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005281/0.6398, allocations: 316 kB / 0.7709 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.6507, allocations: 5.14 MB / 0.7759 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.705e-05/0.6508, allocations: 0 / 0.7759 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/0.6512, allocations: 136 kB / 0.776 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.089e-05/0.6512, allocations: 76 kB / 0.7761 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/0.6661, allocations: 6.358 MB / 0.7823 GB, free: 3.883 MB / 0.5919 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.02602/0.6922, allocations: 14.57 MB / 0.7965 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009759/0.702, allocations: 4.574 MB / 0.801 GB, free: 220 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008802/0.7029, allocations: 0.6697 MB / 0.8016 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005159/0.708, allocations: 2.457 MB / 0.804 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=270): time 4.218e-06/0.7081, allocations: 0 / 0.804 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=270): time 0.01706/0.7251, allocations: 7.522 MB / 0.8114 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.7253, allocations: 218 kB / 0.8116 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002984/0.7283, allocations: 2.397 MB / 0.8139 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004151/0.7287, allocations: 73.7 kB / 0.814 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.73, allocations: 1.361 MB / 0.8153 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.731, allocations: 0.8932 MB / 0.8162 GB, free: 228 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.7312, allocations: 48 kB / 0.8163 GB, free: 180 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.7314, allocations: 398.7 kB / 0.8166 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004267/0.7357, allocations: 1.948 MB / 0.8185 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004381/0.7401, allocations: 2.256 MB / 0.8207 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004442/0.7445, allocations: 2.101 MB / 0.8228 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.7446, allocations: 4 kB / 0.8228 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01031/0.7549, allocations: 4.903 MB / 0.8276 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.7549, allocations: 8 kB / 0.8276 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.7549, allocations: 4 kB / 0.8276 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007884/0.7557, allocations: 342.4 kB / 0.8279 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003877/0.7596, allocations: 0.8151 MB / 0.8287 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005172/0.7648, allocations: 3.999 MB / 0.8326 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/0.7684, allocations: 0.5557 MB / 0.8332 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005367/0.769, allocations: 103.9 kB / 0.8333 GB, free: 14.45 MB / 0.6544 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 (270): * Single equations (assignments): 269 * 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 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002219/0.7712, allocations: 0.9271 MB / 0.8342 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007929/0.772, allocations: 272.6 kB / 0.8344 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.7852, allocations: 5.57 MB / 0.8399 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/0.7852, allocations: 27.98 kB / 0.8399 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.7853, allocations: 8 kB / 0.8399 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.761e-05/0.7853, allocations: 11.95 kB / 0.8399 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/0.8044, allocations: 9.316 MB / 0.849 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.8045, allocations: 3.953 kB / 0.849 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003917/0.8084, allocations: 0.7723 MB / 0.8498 GB, free: 13.33 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.8095, allocations: 387.9 kB / 0.8501 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003819/0.8099, allocations: 75.92 kB / 0.8502 GB, free: 12.87 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006214/0.8161, allocations: 5.897 MB / 0.856 GB, free: 6.684 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8162, allocations: 4 kB / 0.856 GB, free: 6.68 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2707/1.087, allocations: 7.906 MB / 0.8637 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/1.089, allocations: 0.8521 MB / 0.8645 GB, free: 210.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000415/1.089, allocations: 51.22 kB / 0.8646 GB, free: 210.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002602/1.092, allocations: 425.6 kB / 0.865 GB, free: 210.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003064/1.092, allocations: 181.4 kB / 0.8652 GB, free: 210.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/1.092, allocations: 95.36 kB / 0.8652 GB, free: 210.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001916/1.094, allocations: 1.751 MB / 0.867 GB, free: 210.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/1.094, allocations: 0 / 0.867 GB, free: 210.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002248/1.097, allocations: 1.033 MB / 0.868 GB, free: 210.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * 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 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001903/1.098, allocations: 1.019 MB / 0.869 GB, free: 210.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00867/1.107, allocations: 4.774 MB / 0.8736 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.107, allocations: 2.5 kB / 0.8736 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004737/1.112, allocations: 2.757 MB / 0.8763 GB, free: 208.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/1.114, allocations: 0.5533 MB / 0.8769 GB, free: 208.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/1.126, allocations: 9.176 MB / 0.8858 GB, free: 204.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/1.128, allocations: 2.521 MB / 0.8883 GB, free: 203.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003777/1.132, allocations: 1.111 MB / 0.8894 GB, free: 203.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00093/1.133, allocations: 259.8 kB / 0.8896 GB, free: 203.2 MB / 0.67 GB Notification: Performance of SimCode: time 8.61e-07/1.133, allocations: 3.172 kB / 0.8896 GB, free: 203.2 MB / 0.67 GB Notification: Performance of Templates: time 0.06665/1.199, allocations: 42.98 MB / 0.9316 GB, free: 190.6 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) Environment - environmentSimulation: