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.001209/0.001209, allocations: 108 kB / 16.64 MB, free: 6.371 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.001226/0.001226, allocations: 191.7 kB / 17.56 MB, free: 5.812 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.314/1.314, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7479/0.7479, allocations: 122.9 MB / 414.3 MB, free: 36 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.89 kB / 0.4912 GB, free: 7.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3582, allocations: 77.91 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1645/0.5227, allocations: 161.3 MB / 0.7249 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4017/0.9245, allocations: 27.01 MB / 0.7512 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006013/0.9305, allocations: 75.66 kB / 0.7513 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00398/0.9346, allocations: 0.994 MB / 0.7523 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008139/0.9428, allocations: 1.767 MB / 0.754 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006118/0.9489, allocations: 1.682 MB / 0.7556 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01149/0.9605, allocations: 5.94 MB / 0.7614 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008933/0.9694, allocations: 4.596 MB / 0.7659 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00702/0.9765, allocations: 2.311 MB / 0.7682 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007084/0.9836, allocations: 2.82 MB / 0.7709 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002927/0.9866, allocations: 0.5109 MB / 0.7714 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006053/0.9927, allocations: 1.096 MB / 0.7725 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003075/0.9958, allocations: 1.321 MB / 0.7738 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007153/1.003, allocations: 2.384 MB / 0.7761 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01031/1.013, allocations: 5.211 MB / 0.7812 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/1.013, allocations: 3.094 kB / 0.7812 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.617e-06/1.013, allocations: 0 / 0.7812 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003541/1.014, allocations: 0.9062 kB / 0.7812 GB, free: 16.09 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01685/1.031, allocations: 5.074 MB / 0.7862 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/1.031, allocations: 9.938 kB / 0.7862 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01508/1.046, allocations: 2.817 MB / 0.7889 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006939/1.053, allocations: 2.486 MB / 0.7914 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003735/1.053, allocations: 262.5 kB / 0.7916 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002047/1.055, allocations: 350.4 kB / 0.792 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01717/1.073, allocations: 5.582 MB / 0.7974 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/1.073, allocations: 4.797 kB / 0.7974 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006334/1.073, allocations: 145.1 kB / 0.7976 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.419e-05/1.073, allocations: 88.41 kB / 0.7976 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01846/1.092, allocations: 6.718 MB / 0.8042 GB, free: 10.96 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.0427/1.135, allocations: 16.97 MB / 0.8208 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01183/1.147, allocations: 4.405 MB / 0.8251 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007323/1.154, allocations: 2.779 MB / 0.8278 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/1.155, allocations: 0.6707 MB / 0.8284 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008404/1.164, allocations: 2.825 MB / 0.8312 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=309): time 9.598e-06/1.164, allocations: 0 / 0.8312 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=309): time 0.02922/1.193, allocations: 8.846 MB / 0.8398 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/1.193, allocations: 217.3 kB / 0.84 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005301/1.199, allocations: 2.632 MB / 0.8426 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.001097/1.2, allocations: 85.7 kB / 0.8427 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00186/1.202, allocations: 1.482 MB / 0.8441 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002187/1.204, allocations: 1.006 MB / 0.8451 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002834/1.207, allocations: 0.5486 MB / 0.8457 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.207, allocations: 310.9 kB / 0.846 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005821/1.213, allocations: 2.195 MB / 0.8481 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006456/1.219, allocations: 2.526 MB / 0.8506 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/1.231, allocations: 4.641 MB / 0.8551 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-05/1.232, allocations: 4 kB / 0.8551 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01705/1.249, allocations: 5.621 MB / 0.8606 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/1.249, allocations: 8 kB / 0.8606 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/1.249, allocations: 4 kB / 0.8606 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/1.25, allocations: 0.5493 MB / 0.8611 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005021/1.255, allocations: 0.8314 MB / 0.862 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009177/1.264, allocations: 5.733 MB / 0.8676 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005617/1.27, allocations: 0.6101 MB / 0.8681 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/1.271, allocations: 127.9 kB / 0.8683 GB, free: 14.66 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: 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.004174/1.276, allocations: 1.03 MB / 0.8693 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001771/1.277, allocations: 300.2 kB / 0.8696 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01936/1.297, allocations: 6.255 MB / 0.8757 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-05/1.297, allocations: 35.94 kB / 0.8757 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.951e-05/1.297, allocations: 8 kB / 0.8757 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.446e-05/1.297, allocations: 15.94 kB / 0.8757 GB, free: 7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009214/1.306, allocations: 4.087 MB / 0.8797 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-05/1.306, allocations: 6.891 kB / 0.8797 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004792/1.311, allocations: 0.7644 MB / 0.8805 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/1.313, allocations: 0.5329 MB / 0.881 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008894/1.314, allocations: 87.91 kB / 0.8811 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/1.324, allocations: 7.548 MB / 0.8884 GB, free: 9.746 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.324, allocations: 0 / 0.8884 GB, free: 9.746 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02425/1.348, allocations: 8.906 MB / 0.8971 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00328/1.352, allocations: 0.9026 MB / 0.898 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001676/1.353, allocations: 75.83 kB / 0.8981 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004619/1.358, allocations: 455.2 kB / 0.8985 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001277/1.359, allocations: 229.2 kB / 0.8987 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006959/1.36, allocations: 123.8 kB / 0.8989 GB, free: 15 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.004172/1.364, allocations: 1.915 MB / 0.9007 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.8e-07/1.364, allocations: 0 / 0.9007 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00564/1.37, allocations: 1.215 MB / 0.9019 GB, free: 11.86 MB / 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: 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.004449/1.374, allocations: 1.049 MB / 0.9029 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02658/1.401, allocations: 9.417 MB / 0.9121 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.401, allocations: 0 / 0.9121 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.008963/1.41, allocations: 3.107 MB / 0.9152 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006804/1.417, allocations: 0.7838 MB / 0.9159 GB, free: 14.03 MB / 0.7012 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.02321/1.44, allocations: 10.36 MB / 0.9261 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00258/1.443, allocations: 2.548 MB / 0.9286 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002439/1.445, allocations: 339.2 kB / 0.9289 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of SimCode: time 1.122e-06/1.445, allocations: 0 / 0.9289 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of Templates: time 0.1186/1.564, allocations: 92.51 MB / 1.019 GB, free: 4.445 MB / 0.795 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)