Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001084/0.001084, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004817, allocations: 15.44 kB / 0.6735 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.6464/0.8598, allocations: 135.9 MB / 0.9198 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03378/0.8936, allocations: 22.37 MB / 0.9417 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004716/0.8984, allocations: 60.28 kB / 0.9417 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003899/0.9023, allocations: 0.9579 MB / 0.9427 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009528/0.9119, allocations: 2.076 MB / 0.9447 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006812/0.9187, allocations: 1.631 MB / 0.9463 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008008/0.9267, allocations: 2.871 MB / 0.9491 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005173/0.9319, allocations: 2.858 MB / 0.9519 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00364/0.9356, allocations: 1.292 MB / 0.9531 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00371/0.9393, allocations: 1.608 MB / 0.9547 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006954/0.9401, allocations: 106.3 kB / 0.9548 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.9427, allocations: 0.5169 MB / 0.9553 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008289/0.9436, allocations: 0.6997 MB / 0.956 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.9451, allocations: 0.6268 MB / 0.9566 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006224/0.9514, allocations: 4.251 MB / 0.9608 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.9514, allocations: 3.234 kB / 0.9608 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.888e-06/0.9515, allocations: 0 / 0.9608 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003088/0.9518, allocations: 0 / 0.9608 GB, free: 20.88 MB / 0.7325 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.01164/0.9634, allocations: 3.794 MB / 0.9645 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.9635, allocations: 11.53 kB / 0.9645 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/0.9772, allocations: 2.697 MB / 0.9671 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006649/0.9839, allocations: 2.133 MB / 0.9692 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/0.9841, allocations: 235.5 kB / 0.9694 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.9854, allocations: 313.3 kB / 0.9697 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01128/0.9967, allocations: 4.953 MB / 0.9746 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.216e-05/0.9968, allocations: 4.234 kB / 0.9746 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003591/0.9971, allocations: 130.4 kB / 0.9747 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-05/0.9972, allocations: 81.34 kB / 0.9748 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/1.011, allocations: 6.097 MB / 0.9807 GB, free: 13.81 MB / 0.7325 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.03129/1.043, allocations: 14.29 MB / 0.9947 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.011/1.054, allocations: 4.575 MB / 0.9991 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/1.055, allocations: 0.6632 MB / 0.9998 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005339/1.06, allocations: 2.347 MB / 1.002 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=268): time 4.85e-06/1.06, allocations: 0 / 1.002 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of matching and sorting (n=268): time 0.01762/1.078, allocations: 7.234 MB / 1.009 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/1.078, allocations: 210 kB / 1.009 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003675/1.082, allocations: 2.377 MB / 1.012 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0004521/1.082, allocations: 71.89 kB / 1.012 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/1.083, allocations: 1.354 MB / 1.013 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.084, allocations: 0.8886 MB / 1.014 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/1.085, allocations: 46 kB / 1.014 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001837/1.085, allocations: 399.8 kB / 1.014 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004137/1.089, allocations: 1.858 MB / 1.016 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004407/1.093, allocations: 2.167 MB / 1.018 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00435/1.098, allocations: 2.013 MB / 1.02 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/1.098, allocations: 6.484 kB / 1.02 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.01069/1.109, allocations: 4.722 MB / 1.025 GB, free: 3.965 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/1.109, allocations: 10.81 kB / 1.025 GB, free: 3.957 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.109, allocations: 4 kB / 1.025 GB, free: 3.953 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009165/1.11, allocations: 344.5 kB / 1.025 GB, free: 3.684 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003732/1.113, allocations: 0.7698 MB / 1.026 GB, free: 2.957 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005177/1.118, allocations: 4.034 MB / 1.03 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004044/1.123, allocations: 0.4992 MB / 1.03 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004747/1.123, allocations: 102 kB / 1.03 GB, free: 15.41 MB / 0.7637 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.002927/1.126, allocations: 0.9207 MB / 1.031 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007723/1.127, allocations: 272.6 kB / 1.032 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/1.139, allocations: 5.353 MB / 1.037 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/1.139, allocations: 24 kB / 1.037 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/1.139, allocations: 8 kB / 1.037 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.131e-05/1.139, allocations: 18.56 kB / 1.037 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01894/1.158, allocations: 9.043 MB / 1.046 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/1.158, allocations: 0 / 1.046 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003588/1.162, allocations: 0.7287 MB / 1.046 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/1.163, allocations: 382.3 kB / 1.047 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002727/1.163, allocations: 71.94 kB / 1.047 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006457/1.169, allocations: 5.897 MB / 1.053 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.169, allocations: 0 / 1.053 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01718/1.187, allocations: 7.612 MB / 1.06 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003116/1.19, allocations: 0.8365 MB / 1.061 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005327/1.19, allocations: 59.98 kB / 1.061 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002802/1.193, allocations: 387.3 kB / 1.061 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004043/1.194, allocations: 176.4 kB / 1.062 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002381/1.194, allocations: 99.92 kB / 1.062 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002871/1.197, allocations: 1.732 MB / 1.063 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.11e-07/1.197, allocations: 0 / 1.063 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003638/1.2, allocations: 0.999 MB / 1.064 GB, free: 216 kB / 0.7794 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.002442/1.203, allocations: 0.9812 MB / 1.065 GB, free: 15.61 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009875/1.213, allocations: 4.579 MB / 1.07 GB, free: 11.02 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.213, allocations: 2.625 kB / 1.07 GB, free: 11.02 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.005398/1.218, allocations: 2.655 MB / 1.072 GB, free: 8.383 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/1.221, allocations: 0.5691 MB / 1.073 GB, free: 7.824 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/1.237, allocations: 9.021 MB / 1.082 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002285/1.239, allocations: 2.5 MB / 1.084 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004693/1.244, allocations: 1.111 MB / 1.085 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/1.245, allocations: 263.3 kB / 1.085 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of SimCode: time 8.52e-07/1.245, allocations: 0 / 1.085 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of Templates: time 0.07507/1.32, allocations: 42.19 MB / 1.127 GB, free: 1.129 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) Environment - environmentSimulation: