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.007997/0.008003, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001634/0.001634, allocations: 187.4 kB / 16.67 MB, free: 5.969 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9922/0.9922, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 55.91 kB / 0.5856 GB, free: 3.387 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.5184, allocations: 80.91 MB / 0.6646 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.2057/0.7241, allocations: 161.7 MB / 0.8226 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03962/0.7638, allocations: 27.06 MB / 0.849 GB, free: 4.172 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004966/0.7688, allocations: 79.62 kB / 0.8491 GB, free: 4.094 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003178/0.772, allocations: 1.064 MB / 0.8501 GB, free: 3.023 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007187/0.7792, allocations: 1.786 MB / 0.8519 GB, free: 1.23 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005732/0.785, allocations: 1.806 MB / 0.8536 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008406/0.7934, allocations: 5.229 MB / 0.8587 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007611/0.8011, allocations: 4.493 MB / 0.8631 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005069/0.8062, allocations: 2.168 MB / 0.8652 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004566/0.8108, allocations: 2.588 MB / 0.8678 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001732/0.8125, allocations: 484 kB / 0.8682 GB, free: 400 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5334/1.346, allocations: 1.086 MB / 0.8693 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00248/1.348, allocations: 1.243 MB / 0.8705 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006913/1.355, allocations: 2.186 MB / 0.8726 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01317/1.369, allocations: 6.207 MB / 0.8787 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/1.369, allocations: 3.562 kB / 0.8787 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.224e-06/1.369, allocations: 4.75 kB / 0.8787 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003165/1.369, allocations: 0 / 0.8787 GB, free: 11.19 MB / 0.6856 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.02039/1.389, allocations: 4.741 MB / 0.8833 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 7.257e-05/1.389, allocations: 11.34 kB / 0.8833 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01623/1.406, allocations: 2.791 MB / 0.8861 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007538/1.413, allocations: 2.4 MB / 0.8884 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003647/1.414, allocations: 256.2 kB / 0.8887 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002044/1.416, allocations: 335.4 kB / 0.889 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01704/1.433, allocations: 5.392 MB / 0.8942 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/1.433, allocations: 5.031 kB / 0.8942 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005535/1.434, allocations: 143.6 kB / 0.8944 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/1.434, allocations: 84.45 kB / 0.8945 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01793/1.452, allocations: 6.53 MB / 0.9008 GB, free: 8.18 MB / 0.6856 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.03978/1.491, allocations: 15.61 MB / 0.9161 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/1.502, allocations: 4.081 MB / 0.9201 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007118/1.509, allocations: 2.653 MB / 0.9227 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/1.511, allocations: 0.6777 MB / 0.9233 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007295/1.518, allocations: 2.573 MB / 0.9258 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=288): time 6.312e-06/1.518, allocations: 0.8125 kB / 0.9258 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288): time 0.0251/1.543, allocations: 8.387 MB / 0.934 GB, free: 100 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/1.543, allocations: 215.1 kB / 0.9342 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005575/1.549, allocations: 2.515 MB / 0.9367 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001026/1.55, allocations: 77.17 kB / 0.9368 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001642/1.551, allocations: 1.435 MB / 0.9382 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001966/1.553, allocations: 0.9524 MB / 0.9391 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002389/1.556, allocations: 0.5174 MB / 0.9396 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.556, allocations: 305.1 kB / 0.9399 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005148/1.561, allocations: 2.052 MB / 0.9419 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005381/1.567, allocations: 2.378 MB / 0.9442 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/1.578, allocations: 4.426 MB / 0.9485 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/1.578, allocations: 0 / 0.9485 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01509/1.593, allocations: 5.323 MB / 0.9537 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/1.593, allocations: 8 kB / 0.9537 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.593, allocations: 4 kB / 0.9537 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/1.594, allocations: 0.5416 MB / 0.9543 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004831/1.599, allocations: 0.8002 MB / 0.9551 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00869/1.608, allocations: 5.719 MB / 0.9606 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005114/1.613, allocations: 0.549 MB / 0.9612 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.614, allocations: 120 kB / 0.9613 GB, free: 10.96 MB / 0.7169 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.003886/1.618, allocations: 0.9637 MB / 0.9622 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001691/1.62, allocations: 284.4 kB / 0.9625 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01687/1.637, allocations: 5.889 MB / 0.9683 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.929e-05/1.637, allocations: 38.69 kB / 0.9683 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.102e-05/1.637, allocations: 8 kB / 0.9683 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.94e-05/1.637, allocations: 15.94 kB / 0.9683 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02636/1.663, allocations: 9.881 MB / 0.978 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/1.663, allocations: 0 / 0.978 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004836/1.668, allocations: 0.7502 MB / 0.9787 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/1.67, allocations: 0.5222 MB / 0.9792 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007691/1.671, allocations: 83.92 kB / 0.9793 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/1.681, allocations: 7.547 MB / 0.9867 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.681, allocations: 0 / 0.9867 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02334/1.705, allocations: 8.396 MB / 0.9949 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002731/1.708, allocations: 0.848 MB / 0.9957 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/1.709, allocations: 63.84 kB / 0.9957 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004118/1.713, allocations: 399.4 kB / 0.9961 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007029/1.714, allocations: 190.1 kB / 0.9963 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004611/1.714, allocations: 99.94 kB / 0.9964 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003749/1.718, allocations: 1.834 MB / 0.9982 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.6e-07/1.718, allocations: 0 / 0.9982 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004861/1.723, allocations: 1.102 MB / 0.9993 GB, free: 3.676 MB / 0.7481 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.003208/1.726, allocations: 1.048 MB / 1 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01334/1.739, allocations: 5.107 MB / 1.005 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.74, allocations: 0 / 1.005 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0074/1.747, allocations: 2.961 MB / 1.008 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005471/1.752, allocations: 0.7107 MB / 1.009 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/1.771, allocations: 8.266 MB / 1.017 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003259/1.774, allocations: 2.559 MB / 1.019 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.005529/1.78, allocations: 1.127 MB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/1.782, allocations: 271.3 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of SimCode: time 7.72e-07/1.782, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of Templates: time 0.09293/1.875, allocations: 50.59 MB / 1.07 GB, free: 11.96 MB / 0.8262 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)