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.001628/0.001628, allocations: 105.4 kB / 16.35 MB, free: 5.879 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.00179/0.00179, allocations: 191 kB / 17.29 MB, free: 5.516 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.278/1.278, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.732/1.732, allocations: 292.3 MB / 0.5496 GB, free: 17.65 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.001505/0.001505, allocations: 67.89 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2021, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003844/0.2059, allocations: 2.31 MB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.463/0.6689, allocations: 152 MB / 0.9355 GB, free: 24 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.6692, allocations: 4 kB / 0.9355 GB, free: 20 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.6694, allocations: 43.58 kB / 0.9355 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.6698, allocations: 103.2 kB / 0.9356 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.6704, allocations: 303 kB / 0.9359 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.6708, allocations: 425.2 kB / 0.9363 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.671, allocations: 119.1 kB / 0.9364 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.6722, allocations: 275.3 kB / 0.9367 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.6725, allocations: 187.2 kB / 0.9369 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.362e-05/0.6725, allocations: 28 kB / 0.9369 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/0.673, allocations: 275.6 kB / 0.9371 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.025e-05/0.6731, allocations: 83.72 kB / 0.9372 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.6733, allocations: 163.2 kB / 0.9374 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.6739, allocations: 490.5 kB / 0.9379 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6739, allocations: 0 / 0.9379 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6739, allocations: 0 / 0.9379 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.6739, allocations: 0 / 0.9379 GB, free: 13.61 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.001435/0.6753, allocations: 0.7045 MB / 0.9385 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.6754, allocations: 12.03 kB / 0.9386 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/0.6783, allocations: 264.7 kB / 0.9388 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.6787, allocations: 295.2 kB / 0.9391 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.6787, allocations: 20.56 kB / 0.9391 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.15e-05/0.6788, allocations: 31.98 kB / 0.9391 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.6802, allocations: 428.5 kB / 0.9395 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.6802, allocations: 0 / 0.9395 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.6803, allocations: 12 kB / 0.9396 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.6803, allocations: 7.938 kB / 0.9396 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.6826, allocations: 0.529 MB / 0.9401 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.6857, allocations: 1.131 MB / 0.9412 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.688, allocations: 454.4 kB / 0.9416 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.6891, allocations: 232.7 kB / 0.9418 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.6892, allocations: 0 / 0.9418 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.6892, allocations: 43.34 kB / 0.9419 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.172e-06/0.6892, allocations: 0 / 0.9419 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.01628/0.7055, allocations: 1.731 MB / 0.9436 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.7056, allocations: 55.34 kB / 0.9436 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.7059, allocations: 308.5 kB / 0.9439 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/0.706, allocations: 29.7 kB / 0.9439 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.7061, allocations: 164.2 kB / 0.9441 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.455e-05/0.7062, allocations: 90.73 kB / 0.9442 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.7063, allocations: 77.92 kB / 0.9443 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.7065, allocations: 347.7 kB / 0.9446 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.7075, allocations: 196.4 kB / 0.9448 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.7086, allocations: 259 kB / 0.945 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/0.7107, allocations: 432.4 kB / 0.9454 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7108, allocations: 4 kB / 0.9454 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007213/0.718, allocations: 0.8971 MB / 0.9463 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.718, allocations: 4 kB / 0.9463 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.718, allocations: 0 / 0.9463 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/0.7199, allocations: 289.3 kB / 0.9466 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.7204, allocations: 59.94 kB / 0.9467 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/0.7351, allocations: 4.099 MB / 0.9507 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008759/0.736, allocations: 72.61 kB / 0.9507 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.7361, allocations: 15.97 kB / 0.9507 GB, free: 15.82 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.0001921/0.7363, allocations: 148.1 kB / 0.9509 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.7364, allocations: 27.62 kB / 0.9509 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00723/0.7436, allocations: 0.9474 MB / 0.9518 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.7436, allocations: 4 kB / 0.9518 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.7436, allocations: 0 / 0.9518 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.7437, allocations: 7.984 kB / 0.9519 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.7442, allocations: 429.3 kB / 0.9523 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.7442, allocations: 7.938 kB / 0.9523 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/0.7447, allocations: 58.02 kB / 0.9523 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001846/0.7465, allocations: 275.2 kB / 0.9526 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.7466, allocations: 15.97 kB / 0.9526 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/0.7612, allocations: 4.078 MB / 0.9566 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7612, allocations: 0 / 0.9566 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007207/0.7684, allocations: 0.9552 MB / 0.9575 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.7686, allocations: 108.7 kB / 0.9576 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/0.7686, allocations: 8 kB / 0.9576 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007661/0.7694, allocations: 43.95 kB / 0.9577 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/0.7695, allocations: 27.91 kB / 0.9577 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.7696, allocations: 19.91 kB / 0.9577 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002352/0.7698, allocations: 227.1 kB / 0.9579 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7698, allocations: 0 / 0.9579 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005808/0.7704, allocations: 115.9 kB / 0.958 GB, free: 7.965 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.0002012/0.7706, allocations: 119.2 kB / 0.9582 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00281/0.7734, allocations: 0.7284 MB / 0.9589 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7735, allocations: 0 / 0.9589 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.775, allocations: 0.4986 MB / 0.9594 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.7757, allocations: 116.6 kB / 0.9595 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.7782, allocations: 0.6864 MB / 0.9601 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.7786, allocations: 0.7684 MB / 0.9609 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003599/0.7789, allocations: 81.31 kB / 0.961 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.7791, allocations: 31.42 kB / 0.961 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of SimCode: time 7.61e-07/0.7791, allocations: 0 / 0.961 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of Templates: time 0.01856/0.7977, allocations: 13.56 MB / 0.9742 GB, free: 7.441 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)