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.001091/0.001091, allocations: 109.1 kB / 16.36 MB, free: 6.004 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.001079/0.001079, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8191/0.8191, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 0.5068 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3403, allocations: 80.91 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.164/0.5043, allocations: 161.7 MB / 0.7437 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3688/0.8732, allocations: 27.03 MB / 0.7701 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00317/0.8764, allocations: 79.94 kB / 0.7702 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.8789, allocations: 1.066 MB / 0.7712 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005148/0.884, allocations: 1.752 MB / 0.7729 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.8883, allocations: 1.805 MB / 0.7747 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006615/0.8949, allocations: 5.222 MB / 0.7798 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005365/0.9003, allocations: 4.515 MB / 0.7842 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/0.9045, allocations: 2.131 MB / 0.7863 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003957/0.9085, allocations: 2.599 MB / 0.7888 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.9097, allocations: 488.3 kB / 0.7893 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002991/0.9127, allocations: 1.086 MB / 0.7903 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001496/0.9142, allocations: 1.251 MB / 0.7916 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003598/0.9178, allocations: 2.181 MB / 0.7937 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.9284, allocations: 6.203 MB / 0.7998 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.799e-06/0.9284, allocations: 0 / 0.7998 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.867e-06/0.9284, allocations: 0.5938 kB / 0.7998 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003266/0.9288, allocations: 0 / 0.7998 GB, free: 15.11 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01299/0.9418, allocations: 4.748 MB / 0.8044 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.9418, allocations: 12.14 kB / 0.8044 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.9552, allocations: 2.797 MB / 0.8071 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006784/0.962, allocations: 2.404 MB / 0.8095 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.9623, allocations: 256.8 kB / 0.8097 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/0.9638, allocations: 339.5 kB / 0.81 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/0.9789, allocations: 5.382 MB / 0.8153 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/0.979, allocations: 3.984 kB / 0.8153 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009468/0.98, allocations: 146.1 kB / 0.8154 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-05/0.9801, allocations: 83.16 kB / 0.8155 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01678/0.9969, allocations: 6.526 MB / 0.8219 GB, free: 6.18 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.03526/1.032, allocations: 15.59 MB / 0.8371 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009523/1.042, allocations: 4.083 MB / 0.8411 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005943/1.048, allocations: 2.664 MB / 0.8437 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/1.049, allocations: 0.6638 MB / 0.8444 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006446/1.055, allocations: 2.579 MB / 0.8469 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=288): time 5.901e-06/1.055, allocations: 0 / 0.8469 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=288): time 0.02402/1.079, allocations: 8.391 MB / 0.8551 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/1.079, allocations: 210.2 kB / 0.8553 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00424/1.084, allocations: 2.517 MB / 0.8577 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0006817/1.084, allocations: 77.7 kB / 0.8578 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001425/1.086, allocations: 1.426 MB / 0.8592 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/1.087, allocations: 0.9629 MB / 0.8601 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001749/1.089, allocations: 0.5088 MB / 0.8606 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.855e-05/1.089, allocations: 304.2 kB / 0.8609 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004879/1.094, allocations: 2.058 MB / 0.8629 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005223/1.099, allocations: 2.372 MB / 0.8653 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009991/1.109, allocations: 4.432 MB / 0.8696 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/1.109, allocations: 0 / 0.8696 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.013/1.122, allocations: 5.325 MB / 0.8748 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/1.122, allocations: 8.156 kB / 0.8748 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/1.122, allocations: 8 kB / 0.8748 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/1.124, allocations: 0.5444 MB / 0.8753 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004088/1.128, allocations: 0.7962 MB / 0.8761 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008072/1.136, allocations: 5.726 MB / 0.8817 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00408/1.14, allocations: 0.5362 MB / 0.8822 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006963/1.141, allocations: 120 kB / 0.8823 GB, free: 7.422 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: 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.002602/1.143, allocations: 0.9727 MB / 0.8833 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.144, allocations: 288.4 kB / 0.8836 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/1.159, allocations: 5.881 MB / 0.8893 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/1.159, allocations: 28 kB / 0.8893 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/1.159, allocations: 8 kB / 0.8893 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.251e-05/1.159, allocations: 23.88 kB / 0.8894 GB, free: 212 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02419/1.183, allocations: 9.899 MB / 0.899 GB, free: 6.285 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/1.183, allocations: 0 / 0.899 GB, free: 6.285 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005926/1.189, allocations: 0.7502 MB / 0.8998 GB, free: 5.559 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002173/1.191, allocations: 0.5255 MB / 0.9003 GB, free: 5.023 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006289/1.192, allocations: 79.94 kB / 0.9004 GB, free: 4.945 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0139/1.206, allocations: 7.544 MB / 0.9077 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.206, allocations: 7.984 kB / 0.9077 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02913/1.235, allocations: 8.401 MB / 0.9159 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002472/1.237, allocations: 0.8404 MB / 0.9168 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008197/1.238, allocations: 59.91 kB / 0.9168 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00334/1.242, allocations: 401.8 kB / 0.9172 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005097/1.242, allocations: 190.1 kB / 0.9174 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003294/1.242, allocations: 103.9 kB / 0.9175 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003039/1.246, allocations: 1.83 MB / 0.9193 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/1.246, allocations: 0 / 0.9193 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003307/1.249, allocations: 1.102 MB / 0.9203 GB, free: 120 kB / 0.6856 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.002698/1.252, allocations: 1.042 MB / 0.9214 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.264, allocations: 5.106 MB / 0.9263 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.264, allocations: 0 / 0.9263 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006876/1.271, allocations: 2.948 MB / 0.9292 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004283/1.276, allocations: 0.7198 MB / 0.9299 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/1.293, allocations: 8.271 MB / 0.938 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003546/1.296, allocations: 2.555 MB / 0.9405 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005335/1.302, allocations: 1.132 MB / 0.9416 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001805/1.304, allocations: 267.3 kB / 0.9419 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of SimCode: time 7.72e-07/1.304, allocations: 3.938 kB / 0.9419 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.08601/1.39, allocations: 49.82 MB / 0.9905 GB, free: 9.137 MB / 0.7637 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)