Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.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.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001307/0.001308, allocations: 195.9 kB / 16.14 MB, free: 6.734 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.3 kB / 0.5047 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1729, allocations: 80.92 MB / 0.5837 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.5138/0.6867, allocations: 157.8 MB / 0.7378 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.06422/0.751, allocations: 26.44 MB / 0.7636 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004641/0.7557, allocations: 67.62 kB / 0.7637 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003975/0.7597, allocations: 0.5164 MB / 0.7642 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008419/0.7682, allocations: 1.276 MB / 0.7655 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008538/0.7767, allocations: 1.446 MB / 0.7669 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01068/0.7874, allocations: 4.686 MB / 0.7714 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008871/0.7964, allocations: 3.549 MB / 0.7749 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004813/0.8012, allocations: 1.513 MB / 0.7764 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005505/0.8068, allocations: 1.972 MB / 0.7783 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001491/0.8083, allocations: 224 kB / 0.7785 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006008/0.8143, allocations: 1.221 MB / 0.7797 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002092/0.8165, allocations: 0.8329 MB / 0.7805 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00464/0.8212, allocations: 1.612 MB / 0.7821 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.8341, allocations: 5.223 MB / 0.7872 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.8342, allocations: 0 / 0.7872 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.325e-06/0.8342, allocations: 3.938 kB / 0.7872 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002035/0.8344, allocations: 0 / 0.7872 GB, free: 12.74 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.02026/0.8547, allocations: 4.076 MB / 0.7912 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.8548, allocations: 8.031 kB / 0.7912 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02589/0.8807, allocations: 2.738 MB / 0.7939 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007543/0.8883, allocations: 2.074 MB / 0.7959 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003144/0.8886, allocations: 222 kB / 0.7961 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001674/0.8903, allocations: 295.9 kB / 0.7964 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02027/0.9106, allocations: 4.946 MB / 0.8012 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001394/0.9108, allocations: 0 / 0.8012 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001272/0.9121, allocations: 131.9 kB / 0.8013 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.9122, allocations: 79.92 kB / 0.8014 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02875/0.941, allocations: 6.099 MB / 0.8074 GB, free: 7.832 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.05399/0.995, allocations: 15.39 MB / 0.8224 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01507/1.01, allocations: 3.671 MB / 0.826 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008503/1.019, allocations: 2.011 MB / 0.828 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007324/1.019, allocations: 228.3 kB / 0.8282 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009404/1.029, allocations: 2.126 MB / 0.8302 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=231): time 1.151e-05/1.029, allocations: 0 / 0.8302 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=231): time 0.03086/1.06, allocations: 6.087 MB / 0.8362 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002573/1.06, allocations: 287 kB / 0.8365 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007411/1.068, allocations: 2.081 MB / 0.8385 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001139/1.069, allocations: 69.81 kB / 0.8386 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002691/1.071, allocations: 1.199 MB / 0.8397 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002445/1.074, allocations: 0.774 MB / 0.8405 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003819/1.078, allocations: 484 kB / 0.841 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001773/1.078, allocations: 305.1 kB / 0.8412 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00781/1.086, allocations: 1.687 MB / 0.8429 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008327/1.094, allocations: 2.068 MB / 0.8449 GB, free: 340 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01592/1.11, allocations: 3.728 MB / 0.8486 GB, free: 12.49 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.51e-05/1.11, allocations: 0 / 0.8486 GB, free: 12.49 MB / 0.67 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.02034/1.131, allocations: 4.338 MB / 0.8528 GB, free: 8.094 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/1.131, allocations: 11.94 kB / 0.8528 GB, free: 8.082 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/1.131, allocations: 12.31 kB / 0.8528 GB, free: 8.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/1.132, allocations: 231 kB / 0.853 GB, free: 7.844 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006067/1.138, allocations: 0.7176 MB / 0.8537 GB, free: 7.125 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006857/1.145, allocations: 3.095 MB / 0.8568 GB, free: 3.898 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004915/1.15, allocations: 0.5516 MB / 0.8573 GB, free: 3.344 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006341/1.15, allocations: 107.9 kB / 0.8574 GB, free: 3.238 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (266): * Single equations (assignments): 265 * 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.002356/1.153, allocations: 0.8122 MB / 0.8582 GB, free: 2.418 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009697/1.154, allocations: 244.9 kB / 0.8584 GB, free: 2.176 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3155/1.469, allocations: 4.501 MB / 0.8628 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/1.469, allocations: 21.34 kB / 0.8628 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.469, allocations: 6.375 kB / 0.8628 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/1.469, allocations: 14.17 kB / 0.8629 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/1.484, allocations: 7.72 MB / 0.8704 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/1.484, allocations: 15.23 kB / 0.8704 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002335/1.486, allocations: 0.5482 MB / 0.8709 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007731/1.487, allocations: 278 kB / 0.8712 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001596/1.487, allocations: 70.52 kB / 0.8713 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003867/1.491, allocations: 4.821 MB / 0.876 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/1.491, allocations: 13 kB / 0.876 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009786/1.501, allocations: 5.674 MB / 0.8815 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/1.502, allocations: 0.6714 MB / 0.8822 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004632/1.503, allocations: 74.17 kB / 0.8823 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/1.505, allocations: 279.4 kB / 0.8825 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003516/1.505, allocations: 188 kB / 0.8827 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/1.505, allocations: 91.55 kB / 0.8828 GB, free: 207.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002081/1.507, allocations: 1.495 MB / 0.8843 GB, free: 206.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.9e-07/1.507, allocations: 0 / 0.8843 GB, free: 206.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002724/1.51, allocations: 0.8878 MB / 0.8851 GB, free: 206.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (219): * Single equations (assignments): 212 * 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.002261/1.512, allocations: 1.013 MB / 0.8861 GB, free: 206.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008272/1.521, allocations: 3.743 MB / 0.8898 GB, free: 205.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.032e-05/1.521, allocations: 2.062 kB / 0.8898 GB, free: 205.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00435/1.525, allocations: 1.996 MB / 0.8917 GB, free: 204.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003607/1.529, allocations: 0.6081 MB / 0.8923 GB, free: 204.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.542, allocations: 7.808 MB / 0.8999 GB, free: 199.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/1.545, allocations: 2.224 MB / 0.9021 GB, free: 198.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004088/1.549, allocations: 0.9595 MB / 0.9031 GB, free: 198.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/1.55, allocations: 242.5 kB / 0.9033 GB, free: 198.7 MB / 0.67 GB Notification: Performance of SimCode: time 9.11e-07/1.55, allocations: 0 / 0.9033 GB, free: 198.7 MB / 0.67 GB Notification: Performance of Templates: time 0.06989/1.62, allocations: 40.33 MB / 0.9427 GB, free: 180.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe 2>&1)