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.001527/0.001526, allocations: 105.4 kB / 15.7 MB, free: 28 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.001849/0.001849, allocations: 193.9 kB / 16.64 MB, free: 6.453 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.423/1.423, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.752/1.752, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001412/0.001412, allocations: 73.48 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2192, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02836/0.2476, allocations: 29.72 MB / 0.8132 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01675/0.2644, allocations: 12.5 MB / 0.8254 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.2659, allocations: 47.69 kB / 0.8254 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.2678, allocations: 0.6798 MB / 0.8261 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003214/0.271, allocations: 1.45 MB / 0.8275 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.2741, allocations: 1.385 MB / 0.8288 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004031/0.2781, allocations: 3.791 MB / 0.8325 GB, free: 11 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.2797, allocations: 1.361 MB / 0.8339 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002657/0.2824, allocations: 1.485 MB / 0.8353 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.2836, allocations: 1.046 MB / 0.8363 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.2838, allocations: 116 kB / 0.8364 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.2857, allocations: 1.127 MB / 0.8375 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003311/0.2861, allocations: 390.7 kB / 0.8379 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006892/0.2868, allocations: 0.789 MB / 0.8387 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.2893, allocations: 2.434 MB / 0.8411 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2893, allocations: 3.938 kB / 0.8411 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2893, allocations: 0 / 0.8411 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.836e-05/0.2893, allocations: 0 / 0.8411 GB, free: 2.207 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.002767/0.2921, allocations: 1.934 MB / 0.843 GB, free: 220 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2921, allocations: 8.031 kB / 0.843 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000998/0.2931, allocations: 254.8 kB / 0.8432 GB, free: 15.95 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.2953, allocations: 1.331 MB / 0.8445 GB, free: 14.57 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.222e-05/0.2953, allocations: 66 kB / 0.8446 GB, free: 14.51 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.2955, allocations: 87.98 kB / 0.8447 GB, free: 14.42 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.297, allocations: 0.9771 MB / 0.8456 GB, free: 13.39 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.297, allocations: 0 / 0.8456 GB, free: 13.39 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/0.2971, allocations: 32 kB / 0.8456 GB, free: 13.36 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.2971, allocations: 27.98 kB / 0.8457 GB, free: 13.33 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.2985, allocations: 0.7024 MB / 0.8464 GB, free: 12.63 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.004935/0.3034, allocations: 4.84 MB / 0.8511 GB, free: 7.473 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.3047, allocations: 0.5544 MB / 0.8516 GB, free: 6.91 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000618/0.3053, allocations: 328 kB / 0.8519 GB, free: 6.59 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001936/0.3072, allocations: 1.572 MB / 0.8535 GB, free: 4.867 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00066/0.3079, allocations: 342.9 kB / 0.8538 GB, free: 4.52 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000192/0.3081, allocations: 43.53 kB / 0.8538 GB, free: 4.477 MB / 0.67 GB Notification: Performance of pre-optimization done (n=43): time 1.974e-06/0.3081, allocations: 0 / 0.8538 GB, free: 4.477 MB / 0.67 GB Notification: Performance of matching and sorting (n=43): time 0.002921/0.3111, allocations: 1.157 MB / 0.855 GB, free: 3.289 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.3111, allocations: 55.41 kB / 0.855 GB, free: 3.223 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.3125, allocations: 1.278 MB / 0.8563 GB, free: 1.93 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.3126, allocations: 41.7 kB / 0.8563 GB, free: 1.883 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/0.3131, allocations: 0.6411 MB / 0.8569 GB, free: 1.234 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.3132, allocations: 145.9 kB / 0.8571 GB, free: 1.09 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.3134, allocations: 170 kB / 0.8572 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3135, allocations: 337.9 kB / 0.8576 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.3141, allocations: 267.6 kB / 0.8578 GB, free: 324 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007571/0.3148, allocations: 0.5865 MB / 0.8584 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.3161, allocations: 0.8136 MB / 0.8592 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3161, allocations: 4 kB / 0.8592 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002161/0.3183, allocations: 1.083 MB / 0.8602 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.3183, allocations: 37.77 kB / 0.8603 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3183, allocations: 8 kB / 0.8603 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006438/0.319, allocations: 188.6 kB / 0.8605 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.3195, allocations: 147.7 kB / 0.8606 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006908/0.3202, allocations: 0.759 MB / 0.8614 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007248/0.321, allocations: 52.53 kB / 0.8614 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.361e-05/0.3211, allocations: 43.98 kB / 0.8614 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009026/0.322, allocations: 0.5522 MB / 0.862 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006841/0.3227, allocations: 0.5514 MB / 0.8625 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001043/0.3237, allocations: 0.7473 MB / 0.8632 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.079e-06/0.3237, allocations: 3.984 kB / 0.8633 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001774/0.3255, allocations: 1.061 MB / 0.8643 GB, free: 9.07 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.3256, allocations: 33.7 kB / 0.8643 GB, free: 9.031 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.3256, allocations: 8 kB / 0.8643 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/0.3258, allocations: 104.8 kB / 0.8644 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.3263, allocations: 136.2 kB / 0.8646 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.3284, allocations: 2.354 MB / 0.8669 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/0.3292, allocations: 52.56 kB / 0.8669 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.3293, allocations: 39.98 kB / 0.8669 GB, free: 6.191 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.0002736/0.3296, allocations: 228.1 kB / 0.8672 GB, free: 5.961 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.3298, allocations: 130.4 kB / 0.8673 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/0.3317, allocations: 0.8689 MB / 0.8681 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3317, allocations: 4 kB / 0.8681 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3317, allocations: 3.938 kB / 0.8681 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001307/0.333, allocations: 0.8725 MB / 0.869 GB, free: 4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.336, allocations: 1.795 MB / 0.8707 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.336, allocations: 3.938 kB / 0.8708 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.3364, allocations: 71.88 kB / 0.8708 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002784/0.3367, allocations: 128.8 kB / 0.8709 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.3368, allocations: 20.05 kB / 0.871 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005802/0.3374, allocations: 0.7539 MB / 0.8717 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3374, allocations: 0 / 0.8717 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.3394, allocations: 1.17 MB / 0.8728 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003989/0.3398, allocations: 255.5 kB / 0.8731 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.34, allocations: 7.984 kB / 0.8731 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005765/0.3406, allocations: 35.91 kB / 0.8731 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3407, allocations: 44.38 kB / 0.8732 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.3408, allocations: 23.98 kB / 0.8732 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001321/0.3421, allocations: 0.8815 MB / 0.8741 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3421, allocations: 0 / 0.8741 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001943/0.3441, allocations: 0.6509 MB / 0.8747 GB, free: 14.02 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.0009985/0.3451, allocations: 364.4 kB / 0.875 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00273/0.3478, allocations: 1.324 MB / 0.8763 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3478, allocations: 384 / 0.8763 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007411/0.3486, allocations: 330.3 kB / 0.8766 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/0.3512, allocations: 0.6068 MB / 0.8772 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.355, allocations: 2.214 MB / 0.8794 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008665/0.3559, allocations: 1.267 MB / 0.8806 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00107/0.357, allocations: 314.5 kB / 0.8809 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.3572, allocations: 99.41 kB / 0.881 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of SimCode: time 6.31e-07/0.3572, allocations: 0 / 0.881 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of Templates: time 0.04562/0.4029, allocations: 25.65 MB / 0.9061 GB, free: 14.13 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)