Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001359/0.001359, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001538/0.001538, allocations: 195.8 kB / 16.14 MB, free: 6.727 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.366/1.366, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 58.06 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3173, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003821/0.3212, allocations: 2.352 MB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1582/0.4794, allocations: 149.7 MB / 1.216 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.4797, allocations: 0 / 1.216 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.4801, allocations: 35.66 kB / 1.216 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.4805, allocations: 95.31 kB / 1.216 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007837/0.4813, allocations: 263.2 kB / 1.216 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000513/0.4818, allocations: 407.8 kB / 1.217 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.4821, allocations: 99.97 kB / 1.217 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.4841, allocations: 249.4 kB / 1.217 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.4844, allocations: 179.2 kB / 1.217 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.215e-05/0.4844, allocations: 16 kB / 1.217 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005634/0.485, allocations: 267.6 kB / 1.218 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.572e-05/0.4851, allocations: 63.75 kB / 1.218 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.4853, allocations: 147.2 kB / 1.218 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006407/0.4859, allocations: 474.6 kB / 1.218 GB, free: 28 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4859, allocations: 4 kB / 1.218 GB, free: 24 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4859, allocations: 0 / 1.218 GB, free: 24 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.486, allocations: 0 / 1.218 GB, free: 24 kB / 0.9669 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.001734/0.4877, allocations: 0.7017 MB / 1.219 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4877, allocations: 8.031 kB / 1.219 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003153/0.4909, allocations: 259.5 kB / 1.219 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.4913, allocations: 303.2 kB / 1.219 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.4913, allocations: 20.56 kB / 1.219 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.4914, allocations: 28 kB / 1.219 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.4929, allocations: 432.5 kB / 1.22 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.493, allocations: 0 / 1.22 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/0.493, allocations: 8 kB / 1.22 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.493, allocations: 15.94 kB / 1.22 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.4955, allocations: 0.5212 MB / 1.22 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/0.4987, allocations: 1.124 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.5012, allocations: 466.9 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.5023, allocations: 232.7 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.5023, allocations: 7.938 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.5024, allocations: 30.56 kB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 4.118e-06/0.5024, allocations: 3.984 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.0172/0.5196, allocations: 1.733 MB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.5196, allocations: 59.39 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.52, allocations: 300.6 kB / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.52, allocations: 25.7 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.5202, allocations: 176.2 kB / 1.224 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.769e-05/0.5203, allocations: 86.73 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.5204, allocations: 73.92 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.5206, allocations: 338.8 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.5217, allocations: 208.4 kB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.5229, allocations: 258.9 kB / 1.225 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00222/0.5251, allocations: 438.8 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5251, allocations: 0 / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007717/0.5328, allocations: 0.8888 MB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.5329, allocations: 4 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.5329, allocations: 4 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/0.5349, allocations: 277.3 kB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.5354, allocations: 63.94 kB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/0.5504, allocations: 3.803 MB / 1.231 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009047/0.5514, allocations: 71.64 kB / 1.231 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.5514, allocations: 19.97 kB / 1.231 GB, free: 2.539 MB / 0.9825 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.0002178/0.5517, allocations: 149.7 kB / 1.231 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.5518, allocations: 35.61 kB / 1.231 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007999/0.5598, allocations: 0.9495 MB / 1.232 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.5598, allocations: 8 kB / 1.232 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5598, allocations: 3.938 kB / 1.232 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5598, allocations: 0 / 1.232 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.5604, allocations: 432.8 kB / 1.232 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5604, allocations: 0 / 1.232 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.5608, allocations: 51.95 kB / 1.232 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/0.5627, allocations: 277.3 kB / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.5628, allocations: 15.97 kB / 1.233 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/0.577, allocations: 3.786 MB / 1.236 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.577, allocations: 0 / 1.236 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007283/0.5843, allocations: 0.9492 MB / 1.237 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.5844, allocations: 116.6 kB / 1.237 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.542e-05/0.5845, allocations: 8 kB / 1.237 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007716/0.5853, allocations: 43.95 kB / 1.237 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.552e-05/0.5854, allocations: 19.91 kB / 1.237 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.5854, allocations: 19.97 kB / 1.237 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002173/0.5856, allocations: 223.1 kB / 1.238 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.423e-06/0.5856, allocations: 0 / 1.238 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005763/0.5862, allocations: 115.9 kB / 1.238 GB, free: 10.98 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.0001914/0.5864, allocations: 119.2 kB / 1.238 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002764/0.5892, allocations: 0.7118 MB / 1.239 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.5892, allocations: 0 / 1.239 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.5908, allocations: 0.5054 MB / 1.239 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006443/0.5914, allocations: 109.2 kB / 1.239 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.594, allocations: 0.7644 MB / 1.24 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.5943, allocations: 0.7762 MB / 1.241 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004823/0.5948, allocations: 82.81 kB / 1.241 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.595, allocations: 35.41 kB / 1.241 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of SimCode: time 3.8e-07/0.595, allocations: 0 / 1.241 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of Templates: time 0.5682/1.163, allocations: 12.96 MB / 1.254 GB, free: 184.7 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)