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.001166/0.001166, 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.0009442/0.0009442, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.103/1.103, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.447/1.447, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001257/0.001257, allocations: 70.72 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1591, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002834/0.1619, allocations: 2.313 MB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.422/0.5839, allocations: 152 MB / 0.9341 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.5841, allocations: 5.25 kB / 0.9341 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.5843, allocations: 44.89 kB / 0.9341 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.5846, allocations: 98.84 kB / 0.9342 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.585, allocations: 303.2 kB / 0.9345 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000262/0.5853, allocations: 424.3 kB / 0.9349 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.5855, allocations: 111.1 kB / 0.935 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009503/0.5864, allocations: 268.1 kB / 0.9353 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.5866, allocations: 185.4 kB / 0.9354 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/0.5867, allocations: 32.84 kB / 0.9355 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004007/0.5871, allocations: 281.6 kB / 0.9357 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.134e-05/0.5872, allocations: 81.02 kB / 0.9358 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.5873, allocations: 164.9 kB / 0.936 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.5877, allocations: 484 kB / 0.9364 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5878, allocations: 0 / 0.9364 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5878, allocations: 0 / 0.9364 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.5878, allocations: 0 / 0.9364 GB, free: 2.473 MB / 0.7169 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.001215/0.589, allocations: 0.703 MB / 0.9371 GB, free: 18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.589, allocations: 9.594 kB / 0.9371 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/0.5915, allocations: 269 kB / 0.9374 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.5918, allocations: 293.4 kB / 0.9377 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.5918, allocations: 23.28 kB / 0.9377 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.717e-05/0.5919, allocations: 28.81 kB / 0.9377 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.5931, allocations: 427.1 kB / 0.9381 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5931, allocations: 3.938 kB / 0.9381 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.5932, allocations: 8.844 kB / 0.9381 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.5932, allocations: 11.78 kB / 0.9381 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.5951, allocations: 0.5255 MB / 0.9387 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.5977, allocations: 1.135 MB / 0.9398 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.5997, allocations: 466.8 kB / 0.9402 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009198/0.6007, allocations: 235.5 kB / 0.9404 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.6007, allocations: 3.969 kB / 0.9404 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.6007, allocations: 38.08 kB / 0.9405 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.6007, allocations: 0 / 0.9405 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.01415/0.6149, allocations: 1.729 MB / 0.9422 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.6149, allocations: 53.72 kB / 0.9422 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.6152, allocations: 311.8 kB / 0.9425 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.6153, allocations: 31.08 kB / 0.9425 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/0.6154, allocations: 168.8 kB / 0.9427 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/0.6155, allocations: 88.47 kB / 0.9428 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.6156, allocations: 76.5 kB / 0.9429 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.6157, allocations: 342.7 kB / 0.9432 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009623/0.6167, allocations: 195 kB / 0.9434 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009919/0.6177, allocations: 262.5 kB / 0.9436 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.6196, allocations: 434.9 kB / 0.944 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6196, allocations: 2 kB / 0.944 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006147/0.6258, allocations: 0.8959 MB / 0.9449 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.6258, allocations: 8.688 kB / 0.9449 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6258, allocations: 1.75 kB / 0.9449 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/0.6274, allocations: 278.4 kB / 0.9452 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.6278, allocations: 69.3 kB / 0.9453 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/0.6403, allocations: 4.096 MB / 0.9493 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/0.641, allocations: 76.31 kB / 0.9493 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.641, allocations: 21.28 kB / 0.9493 GB, free: 13.02 MB / 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.0001609/0.6412, allocations: 142.1 kB / 0.9495 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.601e-05/0.6413, allocations: 30.12 kB / 0.9495 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006249/0.6475, allocations: 0.951 MB / 0.9504 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6475, allocations: 3.094 kB / 0.9504 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.6475, allocations: 0 / 0.9504 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.6475, allocations: 3.562 kB / 0.9504 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.6479, allocations: 420.4 kB / 0.9508 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.648, allocations: 3.938 kB / 0.9508 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/0.6483, allocations: 58.03 kB / 0.9509 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001535/0.6498, allocations: 276.5 kB / 0.9512 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.6499, allocations: 16.67 kB / 0.9512 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01222/0.6621, allocations: 4.087 MB / 0.9552 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6621, allocations: 1.344 kB / 0.9552 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006073/0.6682, allocations: 0.957 MB / 0.9561 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.6683, allocations: 109.8 kB / 0.9562 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.6683, allocations: 9.844 kB / 0.9562 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/0.669, allocations: 44.8 kB / 0.9563 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.6691, allocations: 20.31 kB / 0.9563 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.6691, allocations: 21.16 kB / 0.9563 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001841/0.6693, allocations: 232 kB / 0.9565 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6693, allocations: 0 / 0.9565 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004932/0.6698, allocations: 110.4 kB / 0.9566 GB, free: 9.281 MB / 0.7325 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.0001644/0.67, allocations: 121.5 kB / 0.9567 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002386/0.6724, allocations: 0.7382 MB / 0.9575 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6724, allocations: 2.719 kB / 0.9575 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.6737, allocations: 0.4978 MB / 0.958 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005824/0.6743, allocations: 107 kB / 0.9581 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.6764, allocations: 0.6977 MB / 0.9587 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.6767, allocations: 0.7672 MB / 0.9595 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003926/0.6771, allocations: 74.33 kB / 0.9596 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.6772, allocations: 41.66 kB / 0.9596 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.6772, allocations: 0 / 0.9596 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of Templates: time 0.0157/0.6929, allocations: 13.55 MB / 0.9728 GB, free: 1.5 MB / 0.7325 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)