Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_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.0009391/0.0009388, allocations: 99.31 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.0008159/0.0008159, 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.207/1.207, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9055/0.9055, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.0002891, allocations: 9.438 kB / 0.5068 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1549, allocations: 82.3 MB / 0.5872 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.3979/0.5528, allocations: 135.9 MB / 0.7199 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0315/0.5843, allocations: 22.74 MB / 0.7421 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.5875, allocations: 64.38 kB / 0.7422 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.5898, allocations: 0.968 MB / 0.7431 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006304/0.5961, allocations: 2.123 MB / 0.7452 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004701/0.6009, allocations: 1.671 MB / 0.7468 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00507/0.6059, allocations: 2.907 MB / 0.7497 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003981/0.6099, allocations: 2.952 MB / 0.7526 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.6121, allocations: 1.311 MB / 0.7538 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.6146, allocations: 1.618 MB / 0.7554 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005699/0.6152, allocations: 108 kB / 0.7555 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.617, allocations: 0.5852 MB / 0.7561 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008718/0.6179, allocations: 0.7004 MB / 0.7568 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006865/0.6186, allocations: 0.6286 MB / 0.7574 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003833/0.6225, allocations: 4.349 MB / 0.7616 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.6225, allocations: 0 / 0.7616 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6225, allocations: 4 kB / 0.7616 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.468e-05/0.6226, allocations: 0 / 0.7616 GB, free: 9.344 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.007892/0.6305, allocations: 3.857 MB / 0.7654 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.6305, allocations: 8.031 kB / 0.7654 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/0.6435, allocations: 2.885 MB / 0.7682 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004668/0.6482, allocations: 2.14 MB / 0.7703 GB, free: 308 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.6484, allocations: 242.5 kB / 0.7706 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006178/0.649, allocations: 316 kB / 0.7709 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.6598, allocations: 5.14 MB / 0.7759 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.558e-05/0.6599, allocations: 3.938 kB / 0.7759 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000335/0.6602, allocations: 132 kB / 0.776 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-05/0.6603, allocations: 80 kB / 0.7761 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.674, allocations: 6.356 MB / 0.7823 GB, free: 3.953 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.02568/0.6997, allocations: 14.56 MB / 0.7965 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009819/0.7096, allocations: 4.57 MB / 0.801 GB, free: 308 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000931/0.7106, allocations: 0.6774 MB / 0.8016 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005563/0.7161, allocations: 2.446 MB / 0.804 GB, free: 13 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=270): time 5.771e-06/0.7162, allocations: 0 / 0.804 GB, free: 13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=270): time 0.01843/0.7346, allocations: 7.53 MB / 0.8114 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.7348, allocations: 214 kB / 0.8116 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/0.7382, allocations: 2.394 MB / 0.8139 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003679/0.7386, allocations: 73.7 kB / 0.814 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.7398, allocations: 1.368 MB / 0.8153 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009651/0.7408, allocations: 0.8893 MB / 0.8162 GB, free: 312 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.741, allocations: 52 kB / 0.8162 GB, free: 260 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.7413, allocations: 398.7 kB / 0.8166 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00436/0.7456, allocations: 1.948 MB / 0.8185 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004572/0.7502, allocations: 2.248 MB / 0.8207 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004577/0.7548, allocations: 2.101 MB / 0.8228 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.7548, allocations: 0 / 0.8228 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01065/0.7655, allocations: 4.907 MB / 0.8276 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.7655, allocations: 6.344 kB / 0.8276 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.7656, allocations: 4 kB / 0.8276 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007971/0.7664, allocations: 354.3 kB / 0.8279 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003766/0.7701, allocations: 0.8151 MB / 0.8287 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005021/0.7752, allocations: 4.014 MB / 0.8326 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003444/0.7786, allocations: 0.5518 MB / 0.8332 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004617/0.7791, allocations: 103.9 kB / 0.8333 GB, free: 14.52 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.002054/0.7812, allocations: 0.9232 MB / 0.8342 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000656/0.7818, allocations: 268.6 kB / 0.8344 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/0.7944, allocations: 5.572 MB / 0.8399 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.7944, allocations: 27.94 kB / 0.8399 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.7944, allocations: 8 kB / 0.8399 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.941e-05/0.7945, allocations: 11.95 kB / 0.8399 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.8127, allocations: 9.316 MB / 0.849 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.8128, allocations: 0 / 0.849 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003604/0.8164, allocations: 0.7684 MB / 0.8498 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009876/0.8174, allocations: 387.9 kB / 0.8501 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002732/0.8177, allocations: 75.92 kB / 0.8502 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005937/0.8236, allocations: 5.895 MB / 0.856 GB, free: 6.766 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8237, allocations: 0 / 0.856 GB, free: 6.766 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2522/1.076, allocations: 7.909 MB / 0.8637 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001998/1.078, allocations: 0.8536 MB / 0.8645 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/1.078, allocations: 52.58 kB / 0.8646 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002663/1.081, allocations: 430.1 kB / 0.865 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/1.081, allocations: 175.9 kB / 0.8651 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/1.081, allocations: 96.84 kB / 0.8652 GB, free: 210.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002051/1.084, allocations: 1.75 MB / 0.867 GB, free: 210.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/1.084, allocations: 0 / 0.867 GB, free: 210.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002377/1.086, allocations: 1.023 MB / 0.868 GB, free: 210.4 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.001951/1.088, allocations: 1.019 MB / 0.8689 GB, free: 210.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008627/1.097, allocations: 4.766 MB / 0.8736 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.097, allocations: 4 kB / 0.8736 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004495/1.101, allocations: 2.759 MB / 0.8763 GB, free: 209 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/1.103, allocations: 0.5761 MB / 0.8769 GB, free: 208.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/1.114, allocations: 9.173 MB / 0.8858 GB, free: 204.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/1.116, allocations: 2.526 MB / 0.8883 GB, free: 203.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003499/1.119, allocations: 1.1 MB / 0.8894 GB, free: 203.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009065/1.12, allocations: 259.6 kB / 0.8896 GB, free: 203.3 MB / 0.67 GB Notification: Performance of SimCode: time 7.01e-07/1.12, allocations: 0 / 0.8896 GB, free: 203.3 MB / 0.67 GB Notification: Performance of Templates: time 0.06381/1.184, allocations: 42.97 MB / 0.9316 GB, free: 190.7 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) Environment - environmentSimulation: