Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001176, allocations: 104.2 kB / 16.36 MB, free: 6.309 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.001159/0.001159, allocations: 188.7 kB / 17.29 MB, free: 5.875 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.519/1.519, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.781/1.781, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001426/0.001426, allocations: 63.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2455, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6241/0.8697, allocations: 162.4 MB / 0.9434 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004835/0.8745, allocations: 2.889 MB / 0.9462 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006631/0.8752, allocations: 15.94 kB / 0.9462 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008656/0.8762, allocations: 202.8 kB / 0.9464 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.8784, allocations: 0.7777 MB / 0.9471 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008732/0.8793, allocations: 340.8 kB / 0.9475 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.8805, allocations: 0.9273 MB / 0.9484 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003311/0.8808, allocations: 246.3 kB / 0.9486 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005006/0.8814, allocations: 342.3 kB / 0.9489 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007634/0.8821, allocations: 277.6 kB / 0.9492 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.8822, allocations: 32 kB / 0.9492 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.8833, allocations: 0.6508 MB / 0.9499 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.8835, allocations: 140.3 kB / 0.95 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.8837, allocations: 215 kB / 0.9502 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009541/0.8847, allocations: 0.7402 MB / 0.9509 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8847, allocations: 0 / 0.9509 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8847, allocations: 0 / 0.9509 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.8847, allocations: 0 / 0.9509 GB, free: 15.85 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001161/0.8859, allocations: 0.7155 MB / 0.9516 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.8859, allocations: 8.031 kB / 0.9516 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009836/0.8869, allocations: 136.6 kB / 0.9518 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.8875, allocations: 410.4 kB / 0.9522 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.8876, allocations: 20.56 kB / 0.9522 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.8876, allocations: 27.91 kB / 0.9522 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.888, allocations: 279.6 kB / 0.9525 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.8881, allocations: 0 / 0.9525 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.8881, allocations: 12 kB / 0.9525 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.8881, allocations: 8.562 kB / 0.9525 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.8885, allocations: 194.1 kB / 0.9527 GB, free: 13.96 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.8902, allocations: 1.299 MB / 0.9539 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.8906, allocations: 204.2 kB / 0.9541 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.8907, allocations: 88.77 kB / 0.9542 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.8907, allocations: 7.984 kB / 0.9542 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.8908, allocations: 34.56 kB / 0.9543 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 2.935e-06/0.8908, allocations: 4 kB / 0.9543 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.0009269/0.8917, allocations: 403.3 kB / 0.9547 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.8918, allocations: 55.41 kB / 0.9547 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.8921, allocations: 296.5 kB / 0.955 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.8921, allocations: 33.7 kB / 0.955 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.8922, allocations: 188.4 kB / 0.9552 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.8923, allocations: 66.95 kB / 0.9553 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/0.8924, allocations: 53.7 kB / 0.9553 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.8925, allocations: 338.8 kB / 0.9556 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.8927, allocations: 63.97 kB / 0.9557 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.8928, allocations: 119.7 kB / 0.9558 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.8931, allocations: 197.6 kB / 0.956 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8931, allocations: 0 / 0.956 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000358/0.8935, allocations: 257 kB / 0.9563 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.8935, allocations: 4 kB / 0.9563 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.8935, allocations: 4 kB / 0.9563 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.8935, allocations: 0 / 0.9563 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.8937, allocations: 43.92 kB / 0.9563 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.8937, allocations: 4 kB / 0.9563 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.894, allocations: 15.84 kB / 0.9563 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.894, allocations: 12 kB / 0.9563 GB, free: 9.934 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.8942, allocations: 162 kB / 0.9565 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/0.8943, allocations: 36.12 kB / 0.9565 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.8943, allocations: 34.36 kB / 0.9566 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.8944, allocations: 0 / 0.9566 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.8944, allocations: 4 kB / 0.9566 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.8944, allocations: 5.203 kB / 0.9566 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.8949, allocations: 406.7 kB / 0.9569 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8949, allocations: 0 / 0.9569 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.8951, allocations: 35.92 kB / 0.957 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/0.8953, allocations: 44.83 kB / 0.957 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.8953, allocations: 11.92 kB / 0.957 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.8966, allocations: 1.509 MB / 0.9585 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8966, allocations: 0 / 0.9585 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/0.8971, allocations: 416.4 kB / 0.9589 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.8973, allocations: 132.8 kB / 0.959 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.8973, allocations: 11.94 kB / 0.959 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.8976, allocations: 8 kB / 0.9591 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.8976, allocations: 7.984 kB / 0.9591 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.8976, allocations: 16.92 kB / 0.9591 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002152/0.8979, allocations: 207.1 kB / 0.9593 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8979, allocations: 4 kB / 0.9593 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004079/0.8983, allocations: 103.8 kB / 0.9594 GB, free: 6.586 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001989/0.8985, allocations: 119.2 kB / 0.9595 GB, free: 6.461 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002884/0.8988, allocations: 163.8 kB / 0.9596 GB, free: 6.301 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8988, allocations: 384 / 0.9596 GB, free: 6.301 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.8991, allocations: 204.3 kB / 0.9598 GB, free: 6.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009879/0.9001, allocations: 209.2 kB / 0.96 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.9013, allocations: 0.751 MB / 0.9608 GB, free: 5.137 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.9017, allocations: 0.796 MB / 0.9616 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.9018, allocations: 27.44 kB / 0.9616 GB, free: 4.293 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.9018, allocations: 0 / 0.9616 GB, free: 4.293 MB / 0.7481 GB Notification: Performance of Templates: time 0.008242/0.91, allocations: 5.703 MB / 0.9671 GB, free: 14.72 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)