Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.641/1.641, allocations: 288.3 MB / 303.2 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 179.6 kB / 371.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008417/0.0008416, allocations: 91.67 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004011, allocations: 10.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2318, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.6584/0.8903, allocations: 135.9 MB / 1.112 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03109/0.9214, allocations: 22.36 MB / 1.134 GB, free: 40 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003957/0.9254, allocations: 59.41 kB / 1.134 GB, free: 16 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003085/0.9285, allocations: 0.9794 MB / 1.135 GB, free: 15.94 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00799/0.9365, allocations: 2.077 MB / 1.137 GB, free: 15.63 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005811/0.9424, allocations: 1.62 MB / 1.139 GB, free: 15.24 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006423/0.9488, allocations: 2.89 MB / 1.141 GB, free: 14.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005664/0.9545, allocations: 2.839 MB / 1.144 GB, free: 13.3 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00338/0.9579, allocations: 1.293 MB / 1.145 GB, free: 12.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003689/0.9616, allocations: 1.611 MB / 1.147 GB, free: 12.06 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.9628, allocations: 107.2 kB / 1.147 GB, free: 12.06 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.9656, allocations: 0.5221 MB / 1.148 GB, free: 11.97 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.9671, allocations: 0.6993 MB / 1.148 GB, free: 11.65 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.9688, allocations: 0.6232 MB / 1.149 GB, free: 11.49 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006631/0.9755, allocations: 4.25 MB / 1.153 GB, free: 8.988 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.9755, allocations: 0 / 1.153 GB, free: 8.988 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9755, allocations: 0 / 1.153 GB, free: 8.988 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002895/0.9758, allocations: 0 / 1.153 GB, free: 8.988 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 804 * Number of variables: 804 Notification: Performance of Generate backend data structure: time 0.01214/0.988, allocations: 3.798 MB / 1.157 GB, free: 6.648 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.988, allocations: 9.031 kB / 1.157 GB, free: 6.648 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/1.002, allocations: 2.698 MB / 1.159 GB, free: 5.398 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007698/1.01, allocations: 2.128 MB / 1.162 GB, free: 3.914 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/1.01, allocations: 245.2 kB / 1.162 GB, free: 3.797 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001509/1.012, allocations: 308.4 kB / 1.162 GB, free: 3.695 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01571/1.028, allocations: 4.952 MB / 1.167 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/1.028, allocations: 4 kB / 1.167 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/1.029, allocations: 132.5 kB / 1.167 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.372e-05/1.029, allocations: 75.12 kB / 1.167 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/1.045, allocations: 6.1 MB / 1.173 GB, free: 13.77 MB / 0.7136 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.03702/1.082, allocations: 14.3 MB / 1.187 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/1.094, allocations: 4.566 MB / 1.191 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/1.095, allocations: 0.6696 MB / 1.192 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006391/1.102, allocations: 2.352 MB / 1.194 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=268): time 7.674e-06/1.102, allocations: 0 / 1.194 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=268): time 0.02025/1.122, allocations: 7.233 MB / 1.201 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.122, allocations: 210 kB / 1.202 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004838/1.127, allocations: 2.376 MB / 1.204 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000668/1.128, allocations: 73.7 kB / 1.204 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001639/1.129, allocations: 1.353 MB / 1.205 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/1.131, allocations: 0.8856 MB / 1.206 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005505/1.132, allocations: 48 kB / 1.206 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002771/1.132, allocations: 394.6 kB / 1.207 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005045/1.137, allocations: 1.858 MB / 1.208 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005394/1.142, allocations: 2.162 MB / 1.211 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005532/1.148, allocations: 2.022 MB / 1.213 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/1.148, allocations: 4 kB / 1.213 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.01296/1.161, allocations: 4.727 MB / 1.217 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/1.161, allocations: 4 kB / 1.217 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.161, allocations: 4 kB / 1.217 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009417/1.162, allocations: 349 kB / 1.218 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004492/1.166, allocations: 0.7722 MB / 1.218 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/1.172, allocations: 4.017 MB / 1.222 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004301/1.177, allocations: 0.509 MB / 1.223 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000748/1.177, allocations: 103.9 kB / 1.223 GB, free: 13.19 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (268): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002813/1.18, allocations: 0.9119 MB / 1.224 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/1.181, allocations: 260.7 kB / 1.224 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/1.196, allocations: 5.359 MB / 1.229 GB, free: 6.582 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-05/1.196, allocations: 32 kB / 1.229 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.029e-05/1.196, allocations: 4 kB / 1.229 GB, free: 6.547 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.138e-05/1.196, allocations: 11.95 kB / 1.229 GB, free: 6.535 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02431/1.221, allocations: 9.056 MB / 1.238 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/1.221, allocations: 0 / 1.238 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004227/1.225, allocations: 0.7332 MB / 1.239 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/1.226, allocations: 383.2 kB / 1.239 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006358/1.227, allocations: 75.94 kB / 1.239 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007045/1.234, allocations: 5.895 MB / 1.245 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.234, allocations: 80 / 1.245 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01995/1.254, allocations: 7.614 MB / 1.252 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002887/1.257, allocations: 0.8365 MB / 1.253 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001354/1.258, allocations: 52 kB / 1.253 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003933/1.262, allocations: 391.3 kB / 1.254 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005956/1.263, allocations: 174 kB / 1.254 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000464/1.263, allocations: 91.94 kB / 1.254 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00358/1.267, allocations: 1.736 MB / 1.256 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.41e-07/1.267, allocations: 0 / 1.256 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004731/1.272, allocations: 0.9972 MB / 1.257 GB, free: 9.961 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (251): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002778/1.275, allocations: 1.002 MB / 1.258 GB, free: 9.203 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.287, allocations: 4.566 MB / 1.262 GB, free: 4.594 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.287, allocations: 4.062 kB / 1.262 GB, free: 4.59 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.006735/1.293, allocations: 2.658 MB / 1.265 GB, free: 1.906 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00395/1.297, allocations: 0.5695 MB / 1.265 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01936/1.317, allocations: 9.016 MB / 1.274 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00347/1.32, allocations: 2.498 MB / 1.276 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.006038/1.326, allocations: 1.12 MB / 1.278 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/1.328, allocations: 255.3 kB / 1.278 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/1.328, allocations: 0 / 1.278 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of Templates: time 0.07551/1.404, allocations: 42.2 MB / 1.319 GB, free: 10.35 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)