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.0009714/0.0009714, 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.001184/0.001184, allocations: 191.4 kB / 16.14 MB, free: 6.703 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.244/1.244, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.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.559/1.559, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001276/0.001276, allocations: 64.94 kB / 0.6708 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1925, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003322/0.1959, allocations: 2.352 MB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5127/0.7086, allocations: 149.7 MB / 0.9312 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.7089, allocations: 3.844 kB / 0.9312 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.7091, allocations: 38.97 kB / 0.9312 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.7094, allocations: 79.16 kB / 0.9313 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007401/0.7101, allocations: 270.1 kB / 0.9315 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000405/0.7105, allocations: 405.4 kB / 0.9319 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.7108, allocations: 103.2 kB / 0.932 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.7127, allocations: 261.3 kB / 0.9323 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.713, allocations: 175.7 kB / 0.9324 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.713, allocations: 18.06 kB / 0.9325 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007312/0.7138, allocations: 265.9 kB / 0.9327 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.7139, allocations: 64.52 kB / 0.9328 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.7141, allocations: 149 kB / 0.9329 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.7148, allocations: 470.2 kB / 0.9334 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.7148, allocations: 0 / 0.9334 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7148, allocations: 4 kB / 0.9334 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.7148, allocations: 2.938 kB / 0.9334 GB, free: 5.645 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.00173/0.7165, allocations: 0.7051 MB / 0.9341 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.7166, allocations: 8.75 kB / 0.9341 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002858/0.7194, allocations: 258 kB / 0.9343 GB, free: 21.13 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.7198, allocations: 300.8 kB / 0.9346 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.7199, allocations: 21.78 kB / 0.9346 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.7199, allocations: 25.91 kB / 0.9346 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.7214, allocations: 430.9 kB / 0.9351 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.7215, allocations: 0 / 0.9351 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.867e-05/0.7215, allocations: 13.67 kB / 0.9351 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.7215, allocations: 12.69 kB / 0.9351 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.7238, allocations: 0.5257 MB / 0.9356 GB, free: 20.85 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003015/0.7268, allocations: 1.129 MB / 0.9367 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.729, allocations: 461.5 kB / 0.9371 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.73, allocations: 228.9 kB / 0.9374 GB, free: 20.44 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.7301, allocations: 3.016 kB / 0.9374 GB, free: 20.44 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.7301, allocations: 41.88 kB / 0.9374 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 1.654e-06/0.7301, allocations: 0 / 0.9374 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25): time 0.01577/0.7459, allocations: 1.726 MB / 0.9391 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.746, allocations: 55.92 kB / 0.9391 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.7463, allocations: 312.5 kB / 0.9394 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/0.7464, allocations: 30.27 kB / 0.9395 GB, free: 19.83 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.7465, allocations: 170.2 kB / 0.9396 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.7466, allocations: 86.88 kB / 0.9397 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.7467, allocations: 74.03 kB / 0.9398 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7469, allocations: 342.6 kB / 0.9401 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.7479, allocations: 206.9 kB / 0.9403 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.7489, allocations: 259.2 kB / 0.9406 GB, free: 19.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/0.7509, allocations: 433.5 kB / 0.941 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.751, allocations: 1.203 kB / 0.941 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007133/0.7581, allocations: 0.8998 MB / 0.9418 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.7581, allocations: 8.25 kB / 0.9419 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7581, allocations: 0 / 0.9419 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.76, allocations: 279.7 kB / 0.9421 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.7605, allocations: 66.67 kB / 0.9422 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/0.7742, allocations: 3.793 MB / 0.9459 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008993/0.7751, allocations: 75.22 kB / 0.946 GB, free: 16.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.7752, allocations: 22.41 kB / 0.946 GB, free: 16.46 MB / 0.7481 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.000236/0.7754, allocations: 144.9 kB / 0.9461 GB, free: 16.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.21e-05/0.7755, allocations: 30.38 kB / 0.9461 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007059/0.7826, allocations: 0.9583 MB / 0.9471 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-06/0.7826, allocations: 2.984 kB / 0.9471 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.7826, allocations: 0.75 kB / 0.9471 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.7827, allocations: 6.391 kB / 0.9471 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.7832, allocations: 419.9 kB / 0.9475 GB, free: 16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7833, allocations: 0.875 kB / 0.9475 GB, free: 16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.7837, allocations: 53.28 kB / 0.9475 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001696/0.7854, allocations: 278.1 kB / 0.9478 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.7855, allocations: 21 kB / 0.9478 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/0.7985, allocations: 3.78 MB / 0.9515 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7986, allocations: 1.656 kB / 0.9515 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006929/0.8055, allocations: 0.9513 MB / 0.9525 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.8057, allocations: 113.8 kB / 0.9526 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.8057, allocations: 16.91 kB / 0.9526 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006977/0.8064, allocations: 41.05 kB / 0.9526 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.8065, allocations: 18.62 kB / 0.9526 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.8066, allocations: 24.14 kB / 0.9527 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002243/0.8068, allocations: 225.5 kB / 0.9529 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8068, allocations: 0 / 0.9529 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006215/0.8075, allocations: 110.1 kB / 0.953 GB, free: 12.93 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.0001944/0.8077, allocations: 121.9 kB / 0.9531 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002547/0.8102, allocations: 0.7186 MB / 0.9538 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8102, allocations: 0 / 0.9538 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.8117, allocations: 0.4965 MB / 0.9543 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000629/0.8123, allocations: 108.8 kB / 0.9544 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.8147, allocations: 0.7752 MB / 0.9551 GB, free: 12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.8151, allocations: 0.7672 MB / 0.9559 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004773/0.8155, allocations: 78.77 kB / 0.956 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.8157, allocations: 37.27 kB / 0.956 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/0.8157, allocations: 1.531 kB / 0.956 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of Templates: time 0.01776/0.8335, allocations: 12.97 MB / 0.9687 GB, free: 9.289 MB / 0.7481 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)