Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 103.9 kB / 16.94 MB, free: 6.191 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.001838/0.001838, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.445/1.445, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8177/0.8177, allocations: 125.4 MB / 417.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 59.91 kB / 0.4948 GB, free: 4.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3613, allocations: 78.56 MB / 0.5715 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.2083/0.5697, allocations: 165 MB / 0.7327 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4053/0.975, allocations: 27.8 MB / 0.7598 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004728/0.9798, allocations: 85.78 kB / 0.7599 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003109/0.983, allocations: 1.196 MB / 0.7611 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007318/0.9903, allocations: 2.071 MB / 0.7631 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005963/0.9963, allocations: 2.064 MB / 0.7651 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009571/1.006, allocations: 6.582 MB / 0.7715 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007777/1.014, allocations: 4.911 MB / 0.7763 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00568/1.019, allocations: 2.485 MB / 0.7788 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005052/1.025, allocations: 3.017 MB / 0.7817 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001626/1.026, allocations: 0.5548 MB / 0.7822 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003653/1.03, allocations: 1.14 MB / 0.7834 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001341/1.031, allocations: 1.433 MB / 0.7848 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004234/1.035, allocations: 2.586 MB / 0.7873 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008728/1.044, allocations: 7.12 MB / 0.7942 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.044, allocations: 1.031 kB / 0.7942 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.186e-06/1.044, allocations: 0 / 0.7942 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002346/1.044, allocations: 3.094 kB / 0.7942 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: 989 * Number of variables: 989 Notification: Performance of Generate backend data structure: time 0.01426/1.059, allocations: 5.453 MB / 0.7996 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.059, allocations: 8.594 kB / 0.7996 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/1.073, allocations: 2.855 MB / 0.8024 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006235/1.079, allocations: 2.613 MB / 0.8049 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000286/1.079, allocations: 294.5 kB / 0.8052 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/1.081, allocations: 381.1 kB / 0.8056 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01483/1.096, allocations: 5.932 MB / 0.8113 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.565e-05/1.096, allocations: 2.094 kB / 0.8113 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005518/1.096, allocations: 165.1 kB / 0.8115 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-05/1.096, allocations: 97.91 kB / 0.8116 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/1.114, allocations: 7.041 MB / 0.8185 GB, free: 5.363 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.03949/1.154, allocations: 18.38 MB / 0.8364 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/1.166, allocations: 4.792 MB / 0.8411 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007306/1.173, allocations: 3.065 MB / 0.8441 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/1.174, allocations: 0.6749 MB / 0.8448 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007234/1.181, allocations: 2.974 MB / 0.8477 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=336): time 5.921e-06/1.181, allocations: 0 / 0.8477 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of matching and sorting (n=336): time 0.02901/1.21, allocations: 10.17 MB / 0.8576 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/1.211, allocations: 218.7 kB / 0.8578 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004675/1.215, allocations: 2.805 MB / 0.8605 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008992/1.216, allocations: 89.69 kB / 0.8606 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001808/1.218, allocations: 1.584 MB / 0.8622 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00186/1.22, allocations: 1.105 MB / 0.8633 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/1.221, allocations: 0.5844 MB / 0.8638 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.221, allocations: 305.1 kB / 0.8641 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005781/1.227, allocations: 2.316 MB / 0.8664 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006525/1.234, allocations: 2.677 MB / 0.869 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01278/1.247, allocations: 4.922 MB / 0.8738 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/1.247, allocations: 4 kB / 0.8738 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01606/1.263, allocations: 6.099 MB / 0.8798 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/1.263, allocations: 8 kB / 0.8798 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/1.263, allocations: 4 kB / 0.8798 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/1.265, allocations: 0.8357 MB / 0.8806 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004808/1.27, allocations: 0.8462 MB / 0.8814 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/1.282, allocations: 7.582 MB / 0.8888 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005151/1.287, allocations: 0.5983 MB / 0.8894 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008835/1.288, allocations: 131.8 kB / 0.8895 GB, free: 11.58 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 318 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003099/1.291, allocations: 1.079 MB / 0.8906 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.292, allocations: 328 kB / 0.8909 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01738/1.31, allocations: 6.752 MB / 0.8975 GB, free: 3.418 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.772e-05/1.31, allocations: 35.94 kB / 0.8975 GB, free: 3.383 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/1.31, allocations: 16 kB / 0.8975 GB, free: 3.367 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-05/1.31, allocations: 23.92 kB / 0.8976 GB, free: 3.344 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007579/1.317, allocations: 4.399 MB / 0.9019 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/1.318, allocations: 0 / 0.9019 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004365/1.322, allocations: 0.7924 MB / 0.9026 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/1.324, allocations: 0.7419 MB / 0.9034 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005483/1.325, allocations: 87.92 kB / 0.9034 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/1.338, allocations: 10.66 MB / 0.9138 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.338, allocations: 8 kB / 0.9138 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02343/1.361, allocations: 9.587 MB / 0.9232 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002844/1.364, allocations: 0.953 MB / 0.9241 GB, free: 7.676 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000916/1.365, allocations: 83.83 kB / 0.9242 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003776/1.369, allocations: 437.5 kB / 0.9246 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006398/1.37, allocations: 246.4 kB / 0.9249 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003191/1.37, allocations: 119.9 kB / 0.925 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003433/1.373, allocations: 2.021 MB / 0.927 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.11e-07/1.374, allocations: 4 kB / 0.927 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004766/1.378, allocations: 1.317 MB / 0.9283 GB, free: 3.461 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (295): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.003918/1.382, allocations: 1.075 MB / 0.9293 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.02782/1.41, allocations: 10.14 MB / 0.9392 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.41, allocations: 8.062 kB / 0.9392 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008704/1.419, allocations: 3.471 MB / 0.9426 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004868/1.424, allocations: 0.8371 MB / 0.9434 GB, free: 4.469 MB / 0.7169 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02061/1.444, allocations: 9.431 MB / 0.9526 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003014/1.447, allocations: 2.699 MB / 0.9553 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002298/1.45, allocations: 339.2 kB / 0.9556 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of SimCode: time 7.61e-07/1.45, allocations: 7.938 kB / 0.9556 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of Templates: time 0.4069/1.857, allocations: 107.9 MB / 1.061 GB, free: 354.1 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)