Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001466/0.001466, allocations: 99.86 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.001758/0.001758, allocations: 177.3 kB / 15.94 MB, free: 228 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.816/1.816, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.625/1.625, allocations: 251.9 MB / 0.51 GB, free: 4.84 MB / 414.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.0005892/0.0005895, allocations: 19.59 kB / 0.6241 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7666/0.7672, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1986/0.9659, allocations: 136.7 MB / 0.8614 GB, free: 2.414 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04059/1.007, allocations: 22.66 MB / 0.8836 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004058/1.011, allocations: 63.62 kB / 0.8836 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003033/1.014, allocations: 0.9956 MB / 0.8846 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/1.025, allocations: 2.169 MB / 0.8867 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007693/1.032, allocations: 1.689 MB / 0.8884 GB, free: 6.816 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008234/1.041, allocations: 3.144 MB / 0.8914 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004979/1.046, allocations: 3.04 MB / 0.8944 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/1.048, allocations: 1.374 MB / 0.8957 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002754/1.051, allocations: 1.727 MB / 0.8974 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003914/1.051, allocations: 124 kB / 0.8975 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/1.053, allocations: 0.5268 MB / 0.8981 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007593/1.054, allocations: 0.751 MB / 0.8988 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009753/1.055, allocations: 0.6754 MB / 0.8994 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005478/1.061, allocations: 4.567 MB / 0.9039 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/1.061, allocations: 0 / 0.9039 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.815e-06/1.061, allocations: 0 / 0.9039 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001601/1.061, allocations: 0 / 0.9039 GB, free: 6.805 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 860 * Number of variables: 860 Notification: Performance of Generate backend data structure: time 0.01024/1.071, allocations: 4.017 MB / 0.9078 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.071, allocations: 8.031 kB / 0.9078 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6441/1.715, allocations: 2.72 MB / 0.9105 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008937/1.724, allocations: 2.224 MB / 0.9127 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004196/1.725, allocations: 251.4 kB / 0.9129 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001913/1.727, allocations: 333.7 kB / 0.9132 GB, free: 175 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01977/1.746, allocations: 5.19 MB / 0.9183 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/1.747, allocations: 7.281 kB / 0.9183 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005636/1.747, allocations: 138.9 kB / 0.9184 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/1.747, allocations: 82.59 kB / 0.9185 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01977/1.767, allocations: 6.343 MB / 0.9247 GB, free: 171 MB / 0.7169 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.03982/1.807, allocations: 15.47 MB / 0.9398 GB, free: 158.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009661/1.817, allocations: 4.109 MB / 0.9438 GB, free: 154 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/1.818, allocations: 0.6719 MB / 0.9445 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006156/1.824, allocations: 2.456 MB / 0.9469 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=286): time 9.177e-06/1.824, allocations: 0 / 0.9469 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=286): time 0.02287/1.847, allocations: 8.038 MB / 0.9547 GB, free: 142.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/1.847, allocations: 214.1 kB / 0.9549 GB, free: 142.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004884/1.852, allocations: 2.496 MB / 0.9574 GB, free: 139.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008572/1.853, allocations: 77.7 kB / 0.9574 GB, free: 139.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001805/1.855, allocations: 1.419 MB / 0.9588 GB, free: 138.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001938/1.857, allocations: 0.949 MB / 0.9598 GB, free: 137.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005899/1.857, allocations: 48 kB / 0.9598 GB, free: 137.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002602/1.858, allocations: 407 kB / 0.9602 GB, free: 136.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004672/1.862, allocations: 1.949 MB / 0.9621 GB, free: 134.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004824/1.867, allocations: 2.265 MB / 0.9643 GB, free: 132.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004862/1.872, allocations: 2.11 MB / 0.9664 GB, free: 130.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/1.872, allocations: 0 / 0.9664 GB, free: 130.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01273/1.885, allocations: 5.091 MB / 0.9713 GB, free: 125.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/1.885, allocations: 10.03 kB / 0.9713 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.885, allocations: 4 kB / 0.9714 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/1.886, allocations: 0.5378 MB / 0.9719 GB, free: 124.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003804/1.89, allocations: 0.7449 MB / 0.9726 GB, free: 124 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007381/1.897, allocations: 5.443 MB / 0.9779 GB, free: 118.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004662/1.902, allocations: 0.5206 MB / 0.9784 GB, free: 117.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008925/1.903, allocations: 107.9 kB / 0.9785 GB, free: 117.8 MB / 0.7169 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 (272): * Single equations (assignments): 271 * 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 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004785/1.908, allocations: 0.9661 MB / 0.9795 GB, free: 116.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00202/1.91, allocations: 288.4 kB / 0.9797 GB, free: 116.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/1.926, allocations: 5.695 MB / 0.9853 GB, free: 110.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.766e-05/1.926, allocations: 31.94 kB / 0.9853 GB, free: 110.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.731e-05/1.926, allocations: 4 kB / 0.9853 GB, free: 110.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.739e-05/1.926, allocations: 15.95 kB / 0.9854 GB, free: 110.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02214/1.948, allocations: 9.652 MB / 0.9948 GB, free: 101 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/1.948, allocations: 0 / 0.9948 GB, free: 101 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003478/1.952, allocations: 0.7099 MB / 0.9955 GB, free: 100.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/1.953, allocations: 0.518 MB / 0.996 GB, free: 99.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003894/1.954, allocations: 79.94 kB / 0.9961 GB, free: 99.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007205/1.961, allocations: 7.12 MB / 1.003 GB, free: 92.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.961, allocations: 0 / 1.003 GB, free: 92.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/1.979, allocations: 8.079 MB / 1.011 GB, free: 84.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003638/1.983, allocations: 0.8908 MB / 1.012 GB, free: 83.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001568/1.984, allocations: 52 kB / 1.012 GB, free: 83.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004014/1.988, allocations: 397.4 kB / 1.012 GB, free: 82.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000657/1.989, allocations: 190.1 kB / 1.012 GB, free: 82.56 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004289/1.99, allocations: 99.94 kB / 1.012 GB, free: 82.46 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00383/1.993, allocations: 1.814 MB / 1.014 GB, free: 80.64 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.71e-07/1.993, allocations: 0 / 1.014 GB, free: 80.64 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00502/1.998, allocations: 1.088 MB / 1.015 GB, free: 79.57 MB / 0.7169 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: 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 (257): * Single equations (assignments): 250 * 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 {(4,100.0%) 36,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003188/2.002, allocations: 0.9843 MB / 1.016 GB, free: 78.97 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01183/2.013, allocations: 4.866 MB / 1.021 GB, free: 74.06 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/2.014, allocations: 0 / 1.021 GB, free: 74.06 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006762/2.02, allocations: 2.851 MB / 1.024 GB, free: 71.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00446/2.025, allocations: 0.6185 MB / 1.024 GB, free: 70.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01882/2.044, allocations: 9.551 MB / 1.034 GB, free: 60.99 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003473/2.047, allocations: 2.608 MB / 1.036 GB, free: 58.36 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006321/2.054, allocations: 1.115 MB / 1.037 GB, free: 57.24 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/2.056, allocations: 267.2 kB / 1.038 GB, free: 56.98 MB / 0.7169 GB Notification: Performance of SimCode: time 2.044e-06/2.056, allocations: 0 / 1.038 GB, free: 56.98 MB / 0.7169 GB Notification: Performance of Templates: time 0.0782/2.134, allocations: 45.54 MB / 1.082 GB, free: 11.84 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1) Environment - environmentSimulation: