Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008635/0.0008637, allocations: 91.34 kB / 16.67 MB, free: 6.59 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.0009462/0.0009463, allocations: 188 kB / 17.59 MB, free: 6.184 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.307/1.307, allocations: 223.3 MB / 241.6 MB, free: 248 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7313/0.7313, allocations: 115.5 MB / 408.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003372, allocations: 8 kB / 496.5 MB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3716, allocations: 77.51 MB / 0.5606 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1754/0.547, allocations: 158.9 MB / 0.7158 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04162/0.5887, allocations: 26.91 MB / 0.742 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00479/0.5935, allocations: 75.56 kB / 0.7421 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00341/0.597, allocations: 0.9876 MB / 0.7431 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007328/0.6043, allocations: 1.753 MB / 0.7448 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005498/0.6098, allocations: 1.652 MB / 0.7464 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4015/1.011, allocations: 6.14 MB / 0.7524 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00714/1.019, allocations: 3.723 MB / 0.756 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004573/1.023, allocations: 1.594 MB / 0.7576 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005429/1.029, allocations: 2.187 MB / 0.7597 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001209/1.03, allocations: 130.9 kB / 0.7599 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003496/1.033, allocations: 0.7313 MB / 0.7606 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001464/1.035, allocations: 0.8315 MB / 0.7614 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004726/1.04, allocations: 1.863 MB / 0.7632 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007443/1.047, allocations: 5.027 MB / 0.7681 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.047, allocations: 7.25 kB / 0.7681 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/1.047, allocations: 0 / 0.7681 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002666/1.047, allocations: 4.906 kB / 0.7681 GB, free: 2.969 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01222/1.06, allocations: 4.314 MB / 0.7723 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.06, allocations: 13.17 kB / 0.7723 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01551/1.075, allocations: 2.933 MB / 0.7752 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005918/1.081, allocations: 2.491 MB / 0.7776 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/1.081, allocations: 266.1 kB / 0.7779 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001272/1.083, allocations: 344.5 kB / 0.7782 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01207/1.095, allocations: 5.633 MB / 0.7837 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.547e-05/1.095, allocations: 10.91 kB / 0.7837 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000404/1.095, allocations: 145.2 kB / 0.7839 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.489e-05/1.095, allocations: 87.72 kB / 0.784 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/1.11, allocations: 6.797 MB / 0.7906 GB, free: 14.62 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.03448/1.145, allocations: 17.03 MB / 0.8072 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/1.155, allocations: 4.398 MB / 0.8115 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006115/1.162, allocations: 2.785 MB / 0.8142 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/1.163, allocations: 0.6755 MB / 0.8149 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00641/1.169, allocations: 2.83 MB / 0.8177 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=309): time 5.35e-06/1.169, allocations: 0 / 0.8177 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of matching and sorting (n=309): time 0.02396/1.193, allocations: 8.909 MB / 0.8264 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/1.193, allocations: 214.4 kB / 0.8266 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00455/1.198, allocations: 2.64 MB / 0.8291 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0006439/1.198, allocations: 87.5 kB / 0.8292 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/1.2, allocations: 1.468 MB / 0.8307 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001415/1.201, allocations: 1.014 MB / 0.8317 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006699/1.202, allocations: 231.7 kB / 0.8319 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/1.202, allocations: 301.1 kB / 0.8322 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005396/1.208, allocations: 2.211 MB / 0.8343 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005706/1.213, allocations: 2.52 MB / 0.8368 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/1.225, allocations: 4.664 MB / 0.8413 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.461e-05/1.225, allocations: 4 kB / 0.8413 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01632/1.241, allocations: 5.628 MB / 0.8468 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/1.241, allocations: 12.16 kB / 0.8468 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/1.241, allocations: 4 kB / 0.8468 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/1.243, allocations: 0.5423 MB / 0.8474 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004962/1.248, allocations: 0.8359 MB / 0.8482 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008283/1.256, allocations: 5.302 MB / 0.8534 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005444/1.262, allocations: 0.6276 MB / 0.854 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009599/1.263, allocations: 127.9 kB / 0.8541 GB, free: 3.977 MB / 0.6231 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 (310): * Single equations (assignments): 309 * 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.003628/1.266, allocations: 1.019 MB / 0.8551 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/1.267, allocations: 300.2 kB / 0.8554 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01704/1.285, allocations: 6.273 MB / 0.8615 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-05/1.285, allocations: 32 kB / 0.8615 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/1.285, allocations: 4 kB / 0.8615 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.197e-05/1.285, allocations: 18.84 kB / 0.8616 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007825/1.292, allocations: 4.107 MB / 0.8656 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-05/1.293, allocations: 0 / 0.8656 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004361/1.297, allocations: 0.7679 MB / 0.8663 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/1.299, allocations: 0.5254 MB / 0.8668 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005998/1.299, allocations: 87.92 kB / 0.8669 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008952/1.308, allocations: 6.95 MB / 0.8737 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.308, allocations: 0 / 0.8737 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02299/1.331, allocations: 8.926 MB / 0.8824 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003036/1.334, allocations: 0.9491 MB / 0.8834 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/1.336, allocations: 70.89 kB / 0.8834 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004481/1.34, allocations: 480.4 kB / 0.8839 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008115/1.341, allocations: 234.1 kB / 0.8841 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005641/1.341, allocations: 111.9 kB / 0.8842 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003796/1.345, allocations: 1.915 MB / 0.8861 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.1e-07/1.345, allocations: 3.75 kB / 0.8861 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005523/1.351, allocations: 1.204 MB / 0.8873 GB, free: 1.691 MB / 0.6544 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: 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 (285): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.003399/1.354, allocations: 1.048 MB / 0.8883 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0143/1.369, allocations: 5.431 MB / 0.8936 GB, free: 11.64 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.369, allocations: 0 / 0.8936 GB, free: 11.64 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007623/1.376, allocations: 3.121 MB / 0.8966 GB, free: 8.551 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00552/1.382, allocations: 0.7276 MB / 0.8973 GB, free: 7.84 MB / 0.67 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.02073/1.403, allocations: 10.47 MB / 0.9076 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003/1.406, allocations: 2.56 MB / 0.9101 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002592/1.408, allocations: 330.1 kB / 0.9104 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of SimCode: time 9.52e-07/1.408, allocations: 4 kB / 0.9104 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of Templates: time 0.1239/1.532, allocations: 91.95 MB / 1 GB, free: 14.73 MB / 0.7794 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)