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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 107.1 kB / 16.29 MB, free: 6.43 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.001146/0.001146, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.198/1.198, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.601/1.601, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001277/0.001277, allocations: 74.86 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1931, allocations: 114.6 MB / 0.7841 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003046/0.1961, allocations: 2.301 MB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4418/0.6379, allocations: 152 MB / 0.9348 GB, free: 300 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.6381, allocations: 0 / 0.9348 GB, free: 300 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.6383, allocations: 47.47 kB / 0.9348 GB, free: 252 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.6386, allocations: 99.86 kB / 0.9349 GB, free: 152 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.6393, allocations: 303 kB / 0.9352 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000369/0.6396, allocations: 427.8 kB / 0.9356 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.6398, allocations: 103.4 kB / 0.9357 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.6409, allocations: 283.5 kB / 0.936 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.6411, allocations: 179.3 kB / 0.9361 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.023e-05/0.6412, allocations: 32 kB / 0.9362 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004591/0.6416, allocations: 283.6 kB / 0.9364 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.903e-05/0.6417, allocations: 79.72 kB / 0.9365 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.6419, allocations: 159.2 kB / 0.9367 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005135/0.6424, allocations: 0.4907 MB / 0.9372 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6424, allocations: 0 / 0.9372 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6424, allocations: 0 / 0.9372 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.6424, allocations: 3.938 kB / 0.9372 GB, free: 13.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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001266/0.6437, allocations: 0.6967 MB / 0.9378 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.6437, allocations: 12.03 kB / 0.9378 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.6462, allocations: 264.4 kB / 0.9381 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.6466, allocations: 295.3 kB / 0.9384 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.6466, allocations: 24.5 kB / 0.9384 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.6466, allocations: 25.69 kB / 0.9384 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.6479, allocations: 436.5 kB / 0.9388 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.6479, allocations: 0 / 0.9388 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.648, allocations: 8 kB / 0.9389 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.648, allocations: 11.94 kB / 0.9389 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.65, allocations: 0.5213 MB / 0.9394 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/0.6526, allocations: 1.126 MB / 0.9405 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.6546, allocations: 466.1 kB / 0.9409 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009152/0.6555, allocations: 234.6 kB / 0.9411 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.6556, allocations: 8.375 kB / 0.9412 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.6556, allocations: 34.56 kB / 0.9412 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.6556, allocations: 0 / 0.9412 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.01377/0.6694, allocations: 1.727 MB / 0.9429 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.6694, allocations: 55.41 kB / 0.9429 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.6697, allocations: 300.5 kB / 0.9432 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.6698, allocations: 37.69 kB / 0.9432 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.6699, allocations: 168.2 kB / 0.9434 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.851e-05/0.6699, allocations: 86.75 kB / 0.9435 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.6701, allocations: 74.77 kB / 0.9436 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6702, allocations: 346.8 kB / 0.9439 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009165/0.6711, allocations: 200.4 kB / 0.9441 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009479/0.6721, allocations: 259 kB / 0.9443 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.6739, allocations: 432.4 kB / 0.9447 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6739, allocations: 0 / 0.9447 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006142/0.6801, allocations: 0.901 MB / 0.9456 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6801, allocations: 8 kB / 0.9456 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.6801, allocations: 0 / 0.9456 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001655/0.6818, allocations: 283.2 kB / 0.9459 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.6822, allocations: 64.64 kB / 0.946 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.6951, allocations: 4.093 MB / 0.95 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007157/0.6958, allocations: 75.56 kB / 0.95 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/0.6959, allocations: 21.38 kB / 0.95 GB, free: 100 kB / 0.7325 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.0002007/0.6961, allocations: 142.7 kB / 0.9502 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-05/0.6962, allocations: 31.62 kB / 0.9502 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006327/0.7025, allocations: 0.9513 MB / 0.9511 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.7025, allocations: 0 / 0.9511 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7026, allocations: 0 / 0.9511 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7026, allocations: 0 / 0.9511 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/0.7031, allocations: 438.3 kB / 0.9516 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7032, allocations: 0 / 0.9516 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.7035, allocations: 59.88 kB / 0.9516 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001563/0.7051, allocations: 283.1 kB / 0.9519 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.7052, allocations: 11.97 kB / 0.9519 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/0.7177, allocations: 4.082 MB / 0.9559 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.7177, allocations: 0 / 0.9559 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006019/0.7237, allocations: 0.9552 MB / 0.9568 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.7238, allocations: 112.7 kB / 0.9569 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.7239, allocations: 6.062 kB / 0.9569 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006251/0.7245, allocations: 47.95 kB / 0.957 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/0.7246, allocations: 19.97 kB / 0.957 GB, free: 8.594 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.7247, allocations: 19.92 kB / 0.957 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002078/0.7249, allocations: 227 kB / 0.9572 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7249, allocations: 0 / 0.9572 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005007/0.7254, allocations: 112 kB / 0.9573 GB, free: 8.242 MB / 0.7481 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.000192/0.7256, allocations: 123.2 kB / 0.9575 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002434/0.728, allocations: 0.7285 MB / 0.9582 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.728, allocations: 0 / 0.9582 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.7294, allocations: 0.4947 MB / 0.9587 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.73, allocations: 111.5 kB / 0.9588 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.7322, allocations: 0.6944 MB / 0.9594 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.7325, allocations: 0.7645 MB / 0.9602 GB, free: 5.246 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003304/0.7328, allocations: 85.48 kB / 0.9603 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.733, allocations: 35.42 kB / 0.9603 GB, free: 5.133 MB / 0.7481 GB Notification: Performance of SimCode: time 4.41e-07/0.733, allocations: 0 / 0.9603 GB, free: 5.133 MB / 0.7481 GB Notification: Performance of Templates: time 0.01833/0.7513, allocations: 13.54 MB / 0.9735 GB, free: 7.727 MB / 0.7637 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)