Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.001701, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 191.3 kB / 16.53 MB, free: 6.664 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 62.5 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2911, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003343/0.2945, allocations: 2.308 MB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.152/0.4465, allocations: 152 MB / 1.219 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.4468, allocations: 3.938 kB / 1.219 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.447, allocations: 51.47 kB / 1.219 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.4473, allocations: 91.2 kB / 1.219 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006743/0.448, allocations: 307 kB / 1.219 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.4484, allocations: 427.8 kB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.4486, allocations: 104.5 kB / 1.22 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.4498, allocations: 279.2 kB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.45, allocations: 187.2 kB / 1.22 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/0.4501, allocations: 32 kB / 1.22 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005064/0.4506, allocations: 271.6 kB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.4507, allocations: 79.72 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.4509, allocations: 163.2 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005586/0.4514, allocations: 490.5 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4515, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4515, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.4515, allocations: 4 kB / 1.221 GB, free: 13.12 MB / 0.9825 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.001338/0.4528, allocations: 0.6979 MB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.4529, allocations: 12.03 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/0.4556, allocations: 255.5 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.456, allocations: 303.2 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.456, allocations: 24.5 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.4561, allocations: 24 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.4575, allocations: 436.5 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4575, allocations: 3.938 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/0.4576, allocations: 12 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4576, allocations: 7.938 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.4599, allocations: 0.5252 MB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.463, allocations: 1.124 MB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.4653, allocations: 472.3 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.4664, allocations: 224.7 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.331e-05/0.4664, allocations: 4.391 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.4664, allocations: 34.56 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 3.016e-06/0.4664, allocations: 7.984 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.01584/0.4823, allocations: 1.724 MB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.4824, allocations: 55.41 kB / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.4827, allocations: 304.6 kB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/0.4828, allocations: 33.7 kB / 1.227 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.4829, allocations: 172.2 kB / 1.228 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.252e-05/0.483, allocations: 86.75 kB / 1.228 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.4832, allocations: 69.92 kB / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4833, allocations: 350.7 kB / 1.228 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.4844, allocations: 200.3 kB / 1.228 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.4855, allocations: 266.9 kB / 1.228 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/0.4876, allocations: 426.8 kB / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4876, allocations: 3.938 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006935/0.4945, allocations: 0.8849 MB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4946, allocations: 8 kB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4946, allocations: 0 / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/0.4965, allocations: 281.4 kB / 1.23 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.497, allocations: 67.88 kB / 1.23 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/0.5119, allocations: 4.104 MB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000837/0.5128, allocations: 71.61 kB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/0.5128, allocations: 19.97 kB / 1.234 GB, free: 15.32 MB / 0.9981 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.0002106/0.5131, allocations: 145.7 kB / 1.234 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.5132, allocations: 31.62 kB / 1.234 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007343/0.5205, allocations: 0.9507 MB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5205, allocations: 0 / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5206, allocations: 4 kB / 1.235 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5206, allocations: 3.984 kB / 1.235 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.5211, allocations: 432.8 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5211, allocations: 4 kB / 1.236 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.5215, allocations: 51.95 kB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/0.5234, allocations: 277.4 kB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.5234, allocations: 15.97 kB / 1.236 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/0.5379, allocations: 4.076 MB / 1.24 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5379, allocations: 0 / 1.24 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006991/0.5449, allocations: 0.9627 MB / 1.241 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.545, allocations: 116.7 kB / 1.241 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.5451, allocations: 8 kB / 1.241 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007504/0.5459, allocations: 43.95 kB / 1.241 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/0.546, allocations: 15.97 kB / 1.241 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.5461, allocations: 23.91 kB / 1.241 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002314/0.5463, allocations: 223.1 kB / 1.241 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5463, allocations: 0 / 1.241 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006216/0.5469, allocations: 115.9 kB / 1.241 GB, free: 7.453 MB / 0.9981 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.0002213/0.5472, allocations: 127.2 kB / 1.242 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002917/0.5501, allocations: 0.7438 MB / 1.242 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5501, allocations: 4 kB / 1.242 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/0.5517, allocations: 0.4938 MB / 1.243 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/0.5524, allocations: 113.2 kB / 1.243 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.5552, allocations: 0.695 MB / 1.244 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.5555, allocations: 0.7684 MB / 1.244 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004927/0.556, allocations: 70.89 kB / 1.244 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.5562, allocations: 39.42 kB / 1.244 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of SimCode: time 7.82e-07/0.5562, allocations: 0 / 1.244 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of Templates: time 0.4655/1.022, allocations: 13.54 MB / 1.258 GB, free: 184.3 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)