Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_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.0008587/0.0008587, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008901/0.0008901, allocations: 168.7 kB / 15.95 MB, free: 204 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.169/1.169, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6614/0.6614, allocations: 132.4 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002798, allocations: 8.719 kB / 0.5034 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3337, allocations: 81.58 MB / 0.5831 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1344/0.4682, allocations: 145.1 MB / 0.7248 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02471/0.4929, allocations: 24.76 MB / 0.749 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.4948, allocations: 63.62 kB / 0.749 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.4964, allocations: 0.8244 MB / 0.7498 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003053/0.4995, allocations: 1.368 MB / 0.7512 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.5022, allocations: 1.183 MB / 0.7523 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004155/0.5064, allocations: 4.222 MB / 0.7565 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003304/0.5097, allocations: 2.837 MB / 0.7592 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.5114, allocations: 1.272 MB / 0.7605 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/0.5136, allocations: 1.719 MB / 0.7621 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003939/0.514, allocations: 96 kB / 0.7622 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.5152, allocations: 0.6009 MB / 0.7628 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00053/0.5158, allocations: 0.6769 MB / 0.7635 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004674/0.5162, allocations: 0.5935 MB / 0.7641 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00304/0.5193, allocations: 4.123 MB / 0.7681 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5193, allocations: 4 kB / 0.7681 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5193, allocations: 4 kB / 0.7681 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.598e-05/0.5193, allocations: 0 / 0.7681 GB, free: 2.551 MB / 0.5919 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.005595/0.5249, allocations: 3.685 MB / 0.7717 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.525, allocations: 11.97 kB / 0.7717 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.5358, allocations: 2.87 MB / 0.7745 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00281/0.5387, allocations: 2.107 MB / 0.7766 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.5388, allocations: 246.1 kB / 0.7768 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003861/0.5392, allocations: 300 kB / 0.7771 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00823/0.5474, allocations: 4.983 MB / 0.782 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.607e-05/0.5475, allocations: 3.938 kB / 0.782 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/0.5478, allocations: 128 kB / 0.7821 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.5478, allocations: 76 kB / 0.7822 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.5593, allocations: 6.162 MB / 0.7882 GB, free: 13.77 MB / 0.6231 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.01859/0.5779, allocations: 13.66 MB / 0.8015 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008057/0.586, allocations: 4.352 MB / 0.8058 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004154/0.5901, allocations: 2.311 MB / 0.808 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007383/0.5909, allocations: 0.6774 MB / 0.8087 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004269/0.5952, allocations: 2.37 MB / 0.811 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=257): time 4.408e-06/0.5952, allocations: 0 / 0.811 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of matching and sorting (n=257): time 0.2374/0.8325, allocations: 6.927 MB / 0.8178 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.8326, allocations: 208.8 kB / 0.818 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/0.8353, allocations: 2.287 MB / 0.8202 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003403/0.8356, allocations: 72.98 kB / 0.8203 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008172/0.8365, allocations: 1.304 MB / 0.8215 GB, free: 211 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005892/0.8371, allocations: 0.8539 MB / 0.8224 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.8372, allocations: 49.44 kB / 0.8224 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.8374, allocations: 396.2 kB / 0.8228 GB, free: 210 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00384/0.8412, allocations: 1.891 MB / 0.8246 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003929/0.8451, allocations: 2.183 MB / 0.8268 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003625/0.8488, allocations: 2.032 MB / 0.8288 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.8488, allocations: 1.031 kB / 0.8288 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.008229/0.857, allocations: 4.695 MB / 0.8333 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.857, allocations: 7.688 kB / 0.8333 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.8571, allocations: 3.688 kB / 0.8334 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004856/0.8576, allocations: 232 kB / 0.8336 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003076/0.8606, allocations: 0.7732 MB / 0.8343 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/0.8635, allocations: 3.093 MB / 0.8373 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/0.866, allocations: 0.542 MB / 0.8379 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/0.8662, allocations: 109.9 kB / 0.838 GB, free: 204.1 MB / 0.6387 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 ($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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001204/0.8674, allocations: 0.8889 MB / 0.8389 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/0.8678, allocations: 264.8 kB / 0.8391 GB, free: 203.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009255/0.877, allocations: 5.283 MB / 0.8443 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.877, allocations: 23.5 kB / 0.8443 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8771, allocations: 7.906 kB / 0.8443 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.8771, allocations: 11.95 kB / 0.8443 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.8884, allocations: 8.81 MB / 0.8529 GB, free: 195.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.8884, allocations: 3.625 kB / 0.8529 GB, free: 195.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002774/0.8912, allocations: 0.7253 MB / 0.8536 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005675/0.8918, allocations: 263.3 kB / 0.8539 GB, free: 195.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/0.8919, allocations: 74.8 kB / 0.8539 GB, free: 195 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00295/0.8949, allocations: 4.8 MB / 0.8586 GB, free: 190.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8949, allocations: 0 / 0.8586 GB, free: 190.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/0.9061, allocations: 7.514 MB / 0.866 GB, free: 182.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009511/0.907, allocations: 0.8287 MB / 0.8668 GB, free: 181.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003229/0.9074, allocations: 48 kB / 0.8668 GB, free: 181.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/0.9095, allocations: 413 kB / 0.8672 GB, free: 181.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.9098, allocations: 169.8 kB / 0.8674 GB, free: 181.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/0.91, allocations: 99.92 kB / 0.8675 GB, free: 181 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001447/0.9114, allocations: 1.665 MB / 0.8691 GB, free: 179.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9114, allocations: 0 / 0.8691 GB, free: 179.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001781/0.9132, allocations: 0.9714 MB / 0.87 GB, free: 178.4 MB / 0.6387 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 (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 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001814/0.915, allocations: 1.008 MB / 0.871 GB, free: 177.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007045/0.9221, allocations: 4.566 MB / 0.8755 GB, free: 173.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.9221, allocations: 0 / 0.8755 GB, free: 173.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003733/0.9258, allocations: 2.601 MB / 0.878 GB, free: 170.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.9278, allocations: 0.5973 MB / 0.8786 GB, free: 170 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008888/0.9367, allocations: 8.786 MB / 0.8872 GB, free: 161.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.9379, allocations: 2.367 MB / 0.8895 GB, free: 158.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002971/0.9409, allocations: 1.088 MB / 0.8906 GB, free: 157.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008513/0.9418, allocations: 259.3 kB / 0.8908 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of SimCode: time 2.8e-07/0.9418, allocations: 0 / 0.8908 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.04155/0.9833, allocations: 40.18 MB / 0.9301 GB, free: 117.6 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)