Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005259/0.005259, allocations: 101.8 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.001174/0.001175, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9864/0.9864, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 68.03 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4489, allocations: 80.91 MB / 0.6646 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1967/0.6456, allocations: 160.1 MB / 0.821 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03572/0.6814, allocations: 26.59 MB / 0.847 GB, free: 6.254 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004156/0.6856, allocations: 71.62 kB / 0.847 GB, free: 6.184 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002802/0.6884, allocations: 0.9869 MB / 0.848 GB, free: 5.191 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005992/0.6945, allocations: 1.644 MB / 0.8496 GB, free: 3.543 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005031/0.6995, allocations: 1.648 MB / 0.8512 GB, free: 1.906 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008289/0.7078, allocations: 4.57 MB / 0.8557 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007993/0.7158, allocations: 4.09 MB / 0.8597 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00446/0.7203, allocations: 1.97 MB / 0.8616 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004236/0.7246, allocations: 2.339 MB / 0.8639 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001539/0.7261, allocations: 424 kB / 0.8643 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003146/0.7293, allocations: 1.034 MB / 0.8653 GB, free: 3.391 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001892/0.7312, allocations: 1.106 MB / 0.8664 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003942/0.7352, allocations: 1.924 MB / 0.8683 GB, free: 356 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.5227/1.258, allocations: 5.5 MB / 0.8736 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.258, allocations: 0.8125 kB / 0.8736 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.553e-06/1.258, allocations: 0 / 0.8736 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000226/1.258, allocations: 0.75 kB / 0.8736 GB, free: 12.48 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01186/1.27, allocations: 4.311 MB / 0.8778 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.27, allocations: 9.312 kB / 0.8778 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01423/1.284, allocations: 2.752 MB / 0.8805 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005638/1.29, allocations: 2.211 MB / 0.8827 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/1.29, allocations: 232.3 kB / 0.8829 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008543/1.291, allocations: 301.4 kB / 0.8832 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/1.302, allocations: 4.962 MB / 0.888 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-05/1.302, allocations: 0.9062 kB / 0.888 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003506/1.303, allocations: 130 kB / 0.8882 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.592e-05/1.303, allocations: 77.09 kB / 0.8882 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/1.317, allocations: 6.104 MB / 0.8942 GB, free: 9.723 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.0289/1.346, allocations: 13.53 MB / 0.9074 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009794/1.356, allocations: 4.349 MB / 0.9117 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005089/1.361, allocations: 2.321 MB / 0.9139 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008783/1.362, allocations: 0.6725 MB / 0.9146 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005774/1.368, allocations: 2.375 MB / 0.9169 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=257): time 5.44e-06/1.368, allocations: 0 / 0.9169 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of matching and sorting (n=257): time 0.01718/1.385, allocations: 6.938 MB / 0.9237 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/1.385, allocations: 213.3 kB / 0.9239 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004151/1.389, allocations: 2.306 MB / 0.9261 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004607/1.39, allocations: 74.67 kB / 0.9262 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/1.391, allocations: 1.299 MB / 0.9275 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009725/1.392, allocations: 0.8481 MB / 0.9283 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001239/1.393, allocations: 480 kB / 0.9288 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.902e-05/1.394, allocations: 303.8 kB / 0.9291 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00406/1.398, allocations: 1.895 MB / 0.9309 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004221/1.402, allocations: 2.191 MB / 0.933 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008272/1.41, allocations: 4.06 MB / 0.937 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/1.41, allocations: 3.969 kB / 0.937 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01031/1.42, allocations: 4.704 MB / 0.9416 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.42, allocations: 12.16 kB / 0.9416 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/1.42, allocations: 7.125 kB / 0.9416 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000635/1.421, allocations: 226.9 kB / 0.9418 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003681/1.425, allocations: 0.7686 MB / 0.9426 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004218/1.429, allocations: 3.38 MB / 0.9459 GB, free: 9.914 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003772/1.433, allocations: 0.5258 MB / 0.9464 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000446/1.433, allocations: 103.9 kB / 0.9465 GB, free: 9.285 MB / 0.7012 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 (272): * Single equations (assignments): 271 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002339/1.436, allocations: 0.901 MB / 0.9474 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.437, allocations: 252.8 kB / 0.9476 GB, free: 8.152 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/1.449, allocations: 5.265 MB / 0.9528 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/1.449, allocations: 28 kB / 0.9528 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/1.449, allocations: 0 / 0.9528 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/1.449, allocations: 21.14 kB / 0.9528 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/1.468, allocations: 8.815 MB / 0.9614 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/1.468, allocations: 7.984 kB / 0.9614 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003545/1.471, allocations: 0.7159 MB / 0.9621 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007825/1.472, allocations: 258.4 kB / 0.9624 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002833/1.473, allocations: 80.31 kB / 0.9625 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004973/1.478, allocations: 5.23 MB / 0.9676 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.478, allocations: 3.188 kB / 0.9676 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01756/1.495, allocations: 7.53 MB / 0.9749 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003258/1.498, allocations: 0.7782 MB / 0.9757 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001616/1.5, allocations: 55.84 kB / 0.9757 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003842/1.504, allocations: 387.4 kB / 0.9761 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007248/1.505, allocations: 161.9 kB / 0.9763 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005298/1.505, allocations: 95.92 kB / 0.9763 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003304/1.509, allocations: 1.692 MB / 0.978 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.212e-06/1.509, allocations: 0 / 0.978 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003941/1.513, allocations: 0.9633 MB / 0.9789 GB, free: 7.609 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (251): * Single equations (assignments): 244 * 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 {(2,16,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.00293/1.515, allocations: 1.042 MB / 0.98 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01103/1.526, allocations: 4.585 MB / 0.9844 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.527, allocations: 128 / 0.9844 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005663/1.532, allocations: 2.611 MB / 0.987 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003833/1.536, allocations: 0.6527 MB / 0.9876 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/1.553, allocations: 7.465 MB / 0.9949 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003111/1.556, allocations: 2.363 MB / 0.9972 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.005112/1.561, allocations: 1.087 MB / 0.9983 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/1.563, allocations: 259.3 kB / 0.9985 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of SimCode: time 1.032e-06/1.563, allocations: 3.094 kB / 0.9985 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of Templates: time 0.0754/1.638, allocations: 44.1 MB / 1.042 GB, free: 8.277 MB / 0.795 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)