Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 108.1 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.001576/0.001576, allocations: 191.8 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.322/1.322, allocations: 205.1 MB / 223.2 MB, free: 4.504 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.691/1.691, allocations: 292.3 MB / 0.5496 GB, free: 12.74 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.001424/0.001424, allocations: 71.55 kB / 0.6729 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2053, allocations: 114.6 MB / 0.7848 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03121/0.2365, allocations: 29.72 MB / 0.8138 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01912/0.2557, allocations: 12.5 MB / 0.826 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.2574, allocations: 47.69 kB / 0.826 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.2593, allocations: 0.672 MB / 0.8267 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003373/0.2627, allocations: 1.461 MB / 0.8281 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.266, allocations: 1.377 MB / 0.8295 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004564/0.2706, allocations: 3.807 MB / 0.8332 GB, free: 11 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.2724, allocations: 1.361 MB / 0.8345 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002905/0.2753, allocations: 1.481 MB / 0.836 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.2768, allocations: 1.042 MB / 0.837 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.277, allocations: 116 kB / 0.8371 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.2793, allocations: 1.127 MB / 0.8382 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004174/0.2798, allocations: 390.7 kB / 0.8386 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008624/0.2806, allocations: 0.789 MB / 0.8393 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003021/0.2837, allocations: 2.438 MB / 0.8417 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2837, allocations: 0 / 0.8417 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2837, allocations: 4 kB / 0.8417 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.449e-05/0.2837, allocations: 0 / 0.8417 GB, free: 2.211 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003153/0.2869, allocations: 1.934 MB / 0.8436 GB, free: 224 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2869, allocations: 8.031 kB / 0.8436 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.288, allocations: 254.9 kB / 0.8439 GB, free: 15.96 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.2904, allocations: 1.277 MB / 0.8451 GB, free: 14.62 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.654e-05/0.2905, allocations: 70 kB / 0.8452 GB, free: 14.56 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.2906, allocations: 84 kB / 0.8453 GB, free: 14.48 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.2923, allocations: 0.9771 MB / 0.8462 GB, free: 13.44 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.2923, allocations: 4 kB / 0.8462 GB, free: 13.44 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.004e-05/0.2924, allocations: 32 kB / 0.8462 GB, free: 13.41 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.2924, allocations: 24 kB / 0.8463 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.2939, allocations: 0.7024 MB / 0.847 GB, free: 12.68 MB / 0.67 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.005722/0.2996, allocations: 4.84 MB / 0.8517 GB, free: 7.527 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.3008, allocations: 0.5582 MB / 0.8522 GB, free: 6.961 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/0.3015, allocations: 321.1 kB / 0.8525 GB, free: 6.648 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002167/0.3037, allocations: 1.565 MB / 0.8541 GB, free: 4.934 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006833/0.3043, allocations: 338.9 kB / 0.8544 GB, free: 4.59 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002472/0.3046, allocations: 51.52 kB / 0.8544 GB, free: 4.539 MB / 0.67 GB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/0.3046, allocations: 0 / 0.8544 GB, free: 4.539 MB / 0.67 GB Notification: Performance of matching and sorting (n=43): time 0.003098/0.3077, allocations: 1.161 MB / 0.8556 GB, free: 3.348 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.3078, allocations: 55.41 kB / 0.8556 GB, free: 3.281 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.3094, allocations: 1.278 MB / 0.8569 GB, free: 1.988 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.3094, allocations: 45.64 kB / 0.8569 GB, free: 1.938 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/0.31, allocations: 0.6372 MB / 0.8575 GB, free: 1.293 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.3101, allocations: 153.8 kB / 0.8577 GB, free: 1.141 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.3103, allocations: 154.2 kB / 0.8578 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3105, allocations: 337.9 kB / 0.8581 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005725/0.3111, allocations: 271.5 kB / 0.8584 GB, free: 388 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007882/0.3119, allocations: 0.5904 MB / 0.859 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.3132, allocations: 0.8136 MB / 0.8598 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.3132, allocations: 7.938 kB / 0.8598 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002236/0.3155, allocations: 1.087 MB / 0.8608 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.3155, allocations: 41.75 kB / 0.8609 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.3155, allocations: 8 kB / 0.8609 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006546/0.3162, allocations: 176.7 kB / 0.8611 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/0.3168, allocations: 151.7 kB / 0.8612 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007104/0.3175, allocations: 0.7629 MB / 0.862 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/0.3182, allocations: 52.53 kB / 0.862 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.846e-05/0.3183, allocations: 43.98 kB / 0.862 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008931/0.3192, allocations: 0.5522 MB / 0.8626 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006683/0.3199, allocations: 0.5514 MB / 0.8631 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00107/0.321, allocations: 0.7473 MB / 0.8639 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.791e-06/0.321, allocations: 4 kB / 0.8639 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001784/0.3228, allocations: 1.057 MB / 0.8649 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.3228, allocations: 37.7 kB / 0.8649 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3229, allocations: 8 kB / 0.8649 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002036/0.3231, allocations: 100.8 kB / 0.865 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.3236, allocations: 140.1 kB / 0.8652 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.3258, allocations: 2.354 MB / 0.8675 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006976/0.3265, allocations: 52.5 kB / 0.8675 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.3266, allocations: 36 kB / 0.8675 GB, free: 6.246 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002762/0.3269, allocations: 234.5 kB / 0.8678 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.3271, allocations: 130.4 kB / 0.8679 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.329, allocations: 0.8648 MB / 0.8687 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.329, allocations: 12 kB / 0.8687 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.329, allocations: 3.938 kB / 0.8688 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001407/0.3304, allocations: 0.8726 MB / 0.8696 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.3334, allocations: 1.798 MB / 0.8714 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.3334, allocations: 4 kB / 0.8714 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.3338, allocations: 71.88 kB / 0.8714 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002786/0.3341, allocations: 120.8 kB / 0.8715 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.3342, allocations: 23.98 kB / 0.8716 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006205/0.3348, allocations: 0.7434 MB / 0.8723 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3348, allocations: 0 / 0.8723 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.3369, allocations: 1.178 MB / 0.8734 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004743/0.3374, allocations: 251.5 kB / 0.8737 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.3376, allocations: 8 kB / 0.8737 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000539/0.3381, allocations: 35.91 kB / 0.8737 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3382, allocations: 40.44 kB / 0.8738 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.3383, allocations: 23.98 kB / 0.8738 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001173/0.3395, allocations: 0.8815 MB / 0.8747 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3395, allocations: 0 / 0.8747 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001892/0.3414, allocations: 0.6472 MB / 0.8753 GB, free: 14.08 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (38): * Single equations (assignments): 32 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008938/0.3423, allocations: 379.4 kB / 0.8756 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002672/0.345, allocations: 1.32 MB / 0.8769 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.345, allocations: 384 / 0.8769 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007308/0.3457, allocations: 338.2 kB / 0.8773 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.348, allocations: 0.5995 MB / 0.8778 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/0.3515, allocations: 2.21 MB / 0.88 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008373/0.3524, allocations: 1.271 MB / 0.8812 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001003/0.3534, allocations: 318.5 kB / 0.8815 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.3536, allocations: 99.41 kB / 0.8816 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of SimCode: time 7.91e-07/0.3536, allocations: 0 / 0.8816 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of Templates: time 0.04324/0.3969, allocations: 25.65 MB / 0.9067 GB, free: 14.18 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)