Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.543/1.543, allocations: 292.3 MB / 308.1 MB, free: 4.297 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.001187/0.001186, allocations: 178.4 kB / 376.9 MB, free: 1.828 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.24/1.24, allocations: 205 MB / 0.6354 GB, free: 9.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000928/0.000928, allocations: 89.62 kB / 0.7479 GB, free: 61.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009355/0.0009356, allocations: 55.91 kB / 0.8703 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1975, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003557/0.2011, allocations: 2.351 MB / 0.9845 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.4755/0.6766, allocations: 149.7 MB / 1.131 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.6768, allocations: 3.875 kB / 1.131 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.677, allocations: 36.91 kB / 1.131 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.6774, allocations: 81.25 kB / 1.131 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.678, allocations: 266.6 kB / 1.131 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.6783, allocations: 408.2 kB / 1.131 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.6785, allocations: 107.9 kB / 1.132 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002161/0.6806, allocations: 254 kB / 1.132 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.6809, allocations: 173.2 kB / 1.132 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.681, allocations: 16.19 kB / 1.132 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.6814, allocations: 270.9 kB / 1.132 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.6815, allocations: 58.55 kB / 1.132 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.6816, allocations: 148 kB / 1.132 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.682, allocations: 474.4 kB / 1.133 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.682, allocations: 3.938 kB / 1.133 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.02e-07/0.682, allocations: 0 / 1.133 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.682, allocations: 0 / 1.133 GB, free: 6.625 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001159/0.6832, allocations: 0.7 MB / 1.134 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.6833, allocations: 9.75 kB / 1.134 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/0.6856, allocations: 270.2 kB / 1.134 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.6859, allocations: 295.9 kB / 1.134 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.6859, allocations: 20.84 kB / 1.134 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/0.686, allocations: 30.81 kB / 1.134 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.6872, allocations: 430.2 kB / 1.135 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.6872, allocations: 0.625 kB / 1.135 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.6873, allocations: 14.72 kB / 1.135 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.6873, allocations: 10.53 kB / 1.135 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.6893, allocations: 0.5212 MB / 1.135 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.6918, allocations: 1.122 MB / 1.136 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.6937, allocations: 463.6 kB / 1.137 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009203/0.6947, allocations: 233.1 kB / 1.137 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.6947, allocations: 7.203 kB / 1.137 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.6947, allocations: 39.19 kB / 1.137 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 2.524e-06/0.6947, allocations: 0 / 1.137 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.01381/0.7086, allocations: 1.727 MB / 1.139 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.7086, allocations: 54.72 kB / 1.139 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.7089, allocations: 310.4 kB / 1.139 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/0.7089, allocations: 36.06 kB / 1.139 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.709, allocations: 163.2 kB / 1.139 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/0.7091, allocations: 92.27 kB / 1.139 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.7093, allocations: 74.59 kB / 1.139 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.249e-05/0.7093, allocations: 338.9 kB / 1.14 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009549/0.7103, allocations: 197.2 kB / 1.14 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009401/0.7112, allocations: 269.4 kB / 1.14 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.7131, allocations: 443.8 kB / 1.141 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.7131, allocations: 0 / 1.141 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006345/0.7194, allocations: 0.8958 MB / 1.141 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.7195, allocations: 7.125 kB / 1.141 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.7195, allocations: 0.8125 kB / 1.141 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/0.7211, allocations: 282.1 kB / 1.142 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.7216, allocations: 62.22 kB / 1.142 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.7333, allocations: 3.788 MB / 1.145 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000843/0.7342, allocations: 80.36 kB / 1.146 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.7343, allocations: 16.81 kB / 1.146 GB, free: 15.73 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001996/0.7345, allocations: 146.4 kB / 1.146 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.7346, allocations: 31.69 kB / 1.146 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006403/0.741, allocations: 0.9456 MB / 1.147 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.741, allocations: 3.438 kB / 1.147 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.741, allocations: 0 / 1.147 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.741, allocations: 7.359 kB / 1.147 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.7415, allocations: 426.1 kB / 1.147 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.7416, allocations: 3.75 kB / 1.147 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.742, allocations: 47.91 kB / 1.147 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/0.7436, allocations: 288.6 kB / 1.147 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.7437, allocations: 13.73 kB / 1.147 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/0.7559, allocations: 3.777 MB / 1.151 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.7559, allocations: 0 / 1.151 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007453/0.7633, allocations: 1.805 MB / 1.153 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.534e-05/0.7635, allocations: 113.6 kB / 1.153 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.7635, allocations: 12 kB / 1.153 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/0.7642, allocations: 48.52 kB / 1.153 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/0.7643, allocations: 16.42 kB / 1.153 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.7643, allocations: 17.47 kB / 1.153 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002027/0.7645, allocations: 223.5 kB / 1.153 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7646, allocations: 0 / 1.153 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006056/0.7652, allocations: 115.5 kB / 1.153 GB, free: 10.78 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001813/0.7654, allocations: 127 kB / 1.153 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002498/0.7679, allocations: 0.7136 MB / 1.154 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7679, allocations: 0 / 1.154 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.7693, allocations: 0.4987 MB / 1.155 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.7699, allocations: 107.9 kB / 1.155 GB, free: 10 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.7723, allocations: 0.9742 MB / 1.156 GB, free: 9.402 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.7726, allocations: 0.7779 MB / 1.156 GB, free: 8.691 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004291/0.773, allocations: 82.28 kB / 1.157 GB, free: 8.66 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.7731, allocations: 29.97 kB / 1.157 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of SimCode: time 2.51e-07/0.7731, allocations: 0 / 1.157 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of Templates: time 0.01546/0.7886, allocations: 13.35 MB / 1.17 GB, free: 7.934 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)