Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example3.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.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001347, allocations: 108 kB / 16.36 MB, free: 6.305 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.001316/0.001316, allocations: 188.4 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.338/1.338, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.813/1.813, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001437/0.001438, allocations: 67.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2239, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.4019/0.6259, allocations: 32.86 MB / 0.8169 GB, free: 29.04 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.6444, allocations: 13.05 MB / 0.8296 GB, free: 20.13 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.6466, allocations: 50.38 kB / 0.8296 GB, free: 20.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002563/0.6492, allocations: 0.7306 MB / 0.8304 GB, free: 19.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005066/0.6543, allocations: 1.562 MB / 0.8319 GB, free: 18.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003919/0.6582, allocations: 1.404 MB / 0.8333 GB, free: 18.1 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007081/0.6653, allocations: 4.855 MB / 0.838 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003515/0.6689, allocations: 2.066 MB / 0.84 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004873/0.6738, allocations: 1.893 MB / 0.8419 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.6768, allocations: 1.35 MB / 0.8432 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005049/0.6773, allocations: 146.8 kB / 0.8433 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003625/0.6809, allocations: 1.176 MB / 0.8445 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00069/0.6817, allocations: 458 kB / 0.8449 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001905/0.6836, allocations: 1.011 MB / 0.8459 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005661/0.6892, allocations: 2.928 MB / 0.8488 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.6893, allocations: 0.7969 kB / 0.8488 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6893, allocations: 0 / 0.8488 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.702e-05/0.6894, allocations: 1.375 kB / 0.8488 GB, free: 11.35 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.005184/0.6946, allocations: 2.377 MB / 0.8511 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6947, allocations: 13.95 kB / 0.8511 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.696, allocations: 299.5 kB / 0.8514 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003583/0.6996, allocations: 1.671 MB / 0.853 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.561e-05/0.6997, allocations: 82.61 kB / 0.8531 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.6999, allocations: 107.9 kB / 0.8532 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.7023, allocations: 1.283 MB / 0.8544 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.7023, allocations: 5.188 kB / 0.8545 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.691e-05/0.7024, allocations: 38.22 kB / 0.8545 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.7024, allocations: 24.53 kB / 0.8545 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.7043, allocations: 0.9792 MB / 0.8555 GB, free: 7.785 MB / 0.6544 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.007202/0.7116, allocations: 6.498 MB / 0.8618 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.7128, allocations: 0.5836 MB / 0.8624 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006326/0.7134, allocations: 404.5 kB / 0.8628 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002593/0.716, allocations: 1.683 MB / 0.8644 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006843/0.7167, allocations: 361.6 kB / 0.8648 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006237/0.7174, allocations: 78.02 kB / 0.8648 GB, free: 15.99 MB / 0.67 GB Notification: Performance of pre-optimization done (n=45): time 2.615e-06/0.7174, allocations: 0 / 0.8648 GB, free: 15.99 MB / 0.67 GB Notification: Performance of matching and sorting (n=45): time 0.003544/0.7209, allocations: 1.311 MB / 0.8661 GB, free: 15.27 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.721, allocations: 64 kB / 0.8662 GB, free: 15.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002557/0.7236, allocations: 1.787 MB / 0.8679 GB, free: 14.23 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.7237, allocations: 39.45 kB / 0.868 GB, free: 14.19 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007659/0.7245, allocations: 0.8469 MB / 0.8688 GB, free: 13.45 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.7247, allocations: 159.2 kB / 0.8689 GB, free: 13.31 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/0.725, allocations: 187.4 kB / 0.8691 GB, free: 13.21 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7251, allocations: 337.6 kB / 0.8694 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006762/0.7258, allocations: 323.7 kB / 0.8697 GB, free: 12.71 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009979/0.7268, allocations: 0.7443 MB / 0.8705 GB, free: 11.97 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.7284, allocations: 0.9863 MB / 0.8714 GB, free: 11.19 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.7284, allocations: 2.25 kB / 0.8714 GB, free: 11.19 MB / 0.67 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002944/0.7313, allocations: 1.309 MB / 0.8727 GB, free: 10.51 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/0.7314, allocations: 39.16 kB / 0.8728 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.7315, allocations: 10.22 kB / 0.8728 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006698/0.7321, allocations: 184.7 kB / 0.8729 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/0.7328, allocations: 168 kB / 0.8731 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007082/0.7335, allocations: 0.7681 MB / 0.8738 GB, free: 9.703 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.7348, allocations: 59 kB / 0.8739 GB, free: 9.668 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.7349, allocations: 48.59 kB / 0.8739 GB, free: 9.656 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001469/0.7364, allocations: 0.7064 MB / 0.8746 GB, free: 9.246 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008459/0.7372, allocations: 0.7116 MB / 0.8753 GB, free: 8.516 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001292/0.7385, allocations: 0.9252 MB / 0.8762 GB, free: 7.766 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.323e-06/0.7386, allocations: 3.75 kB / 0.8762 GB, free: 7.766 MB / 0.67 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002505/0.7411, allocations: 1.258 MB / 0.8775 GB, free: 7.043 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.7411, allocations: 39.52 kB / 0.8775 GB, free: 7.008 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.7411, allocations: 14.36 kB / 0.8775 GB, free: 7.004 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002354/0.7414, allocations: 116.3 kB / 0.8776 GB, free: 6.961 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.742, allocations: 174.1 kB / 0.8778 GB, free: 6.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.7442, allocations: 2.317 MB / 0.8801 GB, free: 4.871 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.7455, allocations: 51.06 kB / 0.8801 GB, free: 4.852 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.631e-05/0.7456, allocations: 45.5 kB / 0.8802 GB, free: 4.84 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 1 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003421/0.746, allocations: 245.2 kB / 0.8804 GB, free: 4.613 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/0.7463, allocations: 174 kB / 0.8806 GB, free: 4.52 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.7485, allocations: 0.9949 MB / 0.8815 GB, free: 3.988 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.7485, allocations: 5.344 kB / 0.8815 GB, free: 3.988 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.7485, allocations: 0 / 0.8815 GB, free: 3.988 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001475/0.75, allocations: 0.9473 MB / 0.8825 GB, free: 3.312 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003866/0.7539, allocations: 2.106 MB / 0.8845 GB, free: 1.918 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.7539, allocations: 3.938 kB / 0.8845 GB, free: 1.914 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.7544, allocations: 91.67 kB / 0.8846 GB, free: 1.883 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003121/0.7547, allocations: 128 kB / 0.8847 GB, free: 1.82 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/0.7548, allocations: 14.11 kB / 0.8847 GB, free: 1.812 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006328/0.7554, allocations: 0.7402 MB / 0.8855 GB, free: 1.172 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.7554, allocations: 0 / 0.8855 GB, free: 1.172 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/0.758, allocations: 1.344 MB / 0.8868 GB, free: 44 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000752/0.7588, allocations: 294.9 kB / 0.8871 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.759, allocations: 11.98 kB / 0.8871 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006514/0.7597, allocations: 32.03 kB / 0.8871 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.7598, allocations: 40.33 kB / 0.8871 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/0.7598, allocations: 27.97 kB / 0.8872 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001803/0.7617, allocations: 1.235 MB / 0.8884 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7617, allocations: 0 / 0.8884 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002716/0.7644, allocations: 0.7837 MB / 0.8891 GB, free: 13.58 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/0.7655, allocations: 390 kB / 0.8895 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002908/0.7685, allocations: 1.457 MB / 0.8909 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.7685, allocations: 0 / 0.8909 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007267/0.7692, allocations: 339.6 kB / 0.8913 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003771/0.773, allocations: 0.7818 MB / 0.892 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/0.778, allocations: 2.918 MB / 0.8949 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.7791, allocations: 1.479 MB / 0.8963 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/0.7795, allocations: 135.4 kB / 0.8964 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of SimCode: time 5.01e-07/0.7795, allocations: 0 / 0.8964 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of Templates: time 0.05042/0.83, allocations: 37.19 MB / 0.9328 GB, free: 1.137 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)