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.001384/0.001384, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001361/0.001361, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.346/1.346, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.757/1.757, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001634/0.001635, allocations: 64.47 kB / 0.6721 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.232, allocations: 114.6 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.4203/0.6524, allocations: 29.73 MB / 0.813 GB, free: 31.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01733/0.6697, allocations: 12.49 MB / 0.8252 GB, free: 23.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/0.672, allocations: 45.84 kB / 0.8253 GB, free: 23.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002395/0.6744, allocations: 0.6852 MB / 0.826 GB, free: 22.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004885/0.6794, allocations: 1.45 MB / 0.8274 GB, free: 21.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004102/0.6835, allocations: 1.362 MB / 0.8287 GB, free: 21.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005712/0.6893, allocations: 3.803 MB / 0.8324 GB, free: 19.4 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002511/0.6918, allocations: 1.352 MB / 0.8337 GB, free: 18.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003913/0.6958, allocations: 1.481 MB / 0.8352 GB, free: 18.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/0.6981, allocations: 1.041 MB / 0.8362 GB, free: 17.72 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005438/0.6987, allocations: 117.1 kB / 0.8363 GB, free: 17.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0035/0.7022, allocations: 1.126 MB / 0.8374 GB, free: 17.4 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009231/0.7031, allocations: 389.7 kB / 0.8378 GB, free: 17.2 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002168/0.7053, allocations: 0.7886 MB / 0.8385 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005662/0.711, allocations: 2.408 MB / 0.8409 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.7111, allocations: 5.156 kB / 0.8409 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7111, allocations: 3.938 kB / 0.8409 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.219e-05/0.7112, allocations: 0 / 0.8409 GB, free: 15.82 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.005397/0.7166, allocations: 1.932 MB / 0.8428 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.7167, allocations: 9.625 kB / 0.8428 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.7183, allocations: 245 kB / 0.843 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/0.7217, allocations: 1.285 MB / 0.8443 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-05/0.7218, allocations: 69.69 kB / 0.8444 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.7221, allocations: 87.73 kB / 0.8444 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.7245, allocations: 0.9731 MB / 0.8454 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.7245, allocations: 5.219 kB / 0.8454 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.7246, allocations: 35.75 kB / 0.8454 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.7247, allocations: 19.31 kB / 0.8455 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.7262, allocations: 0.7002 MB / 0.8461 GB, free: 12.93 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.006956/0.7332, allocations: 4.872 MB / 0.8509 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.7345, allocations: 0.5536 MB / 0.8514 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006984/0.7352, allocations: 317 kB / 0.8517 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002883/0.7381, allocations: 1.579 MB / 0.8533 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007172/0.7389, allocations: 330.9 kB / 0.8536 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006177/0.7395, allocations: 51.5 kB / 0.8536 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 3.687e-06/0.7395, allocations: 0 / 0.8536 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43): time 0.003416/0.7429, allocations: 1.166 MB / 0.8548 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.743, allocations: 55.97 kB / 0.8548 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.745, allocations: 1.281 MB / 0.8561 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.7451, allocations: 39.58 kB / 0.8561 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000481/0.7456, allocations: 0.6478 MB / 0.8568 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.7458, allocations: 149.1 kB / 0.8569 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.746, allocations: 156.4 kB / 0.857 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.353e-05/0.7461, allocations: 341.5 kB / 0.8574 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/0.7467, allocations: 275.8 kB / 0.8576 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007152/0.7474, allocations: 0.5829 MB / 0.8582 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.7486, allocations: 0.8132 MB / 0.859 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.7487, allocations: 2.844 kB / 0.859 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002414/0.7511, allocations: 1.084 MB / 0.8601 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.7511, allocations: 35.14 kB / 0.8601 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.7512, allocations: 8.219 kB / 0.8601 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/0.7518, allocations: 192.4 kB / 0.8603 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/0.7524, allocations: 143.1 kB / 0.8604 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006247/0.753, allocations: 0.7685 MB / 0.8612 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.7541, allocations: 45.22 kB / 0.8612 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.7542, allocations: 40.61 kB / 0.8613 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001042/0.7553, allocations: 0.5532 MB / 0.8618 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005684/0.7558, allocations: 0.5497 MB / 0.8623 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009596/0.7568, allocations: 0.7454 MB / 0.8631 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.83e-06/0.7568, allocations: 6.625 kB / 0.8631 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001974/0.7588, allocations: 1.052 MB / 0.8641 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.7589, allocations: 38.34 kB / 0.8641 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.7589, allocations: 11.84 kB / 0.8641 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/0.7591, allocations: 107.8 kB / 0.8642 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.7596, allocations: 131.6 kB / 0.8644 GB, free: 496 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.7618, allocations: 2.359 MB / 0.8667 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.763, allocations: 41.33 kB / 0.8667 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.7631, allocations: 41.3 kB / 0.8668 GB, free: 14.37 MB / 0.67 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.0003335/0.7635, allocations: 231.8 kB / 0.867 GB, free: 14.15 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/0.7638, allocations: 125.8 kB / 0.8671 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.7659, allocations: 0.8788 MB / 0.868 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.7659, allocations: 5.75 kB / 0.868 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.7659, allocations: 3.938 kB / 0.868 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001466/0.7674, allocations: 0.8674 MB / 0.8688 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003883/0.7713, allocations: 1.812 MB / 0.8706 GB, free: 11.76 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.7714, allocations: 0 / 0.8706 GB, free: 11.76 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.7718, allocations: 78.97 kB / 0.8707 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003001/0.7721, allocations: 123.5 kB / 0.8708 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.7721, allocations: 17.73 kB / 0.8708 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006405/0.7728, allocations: 0.7454 MB / 0.8715 GB, free: 11.03 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7728, allocations: 1.062 kB / 0.8715 GB, free: 11.03 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.7753, allocations: 1.181 MB / 0.8727 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007251/0.776, allocations: 253.6 kB / 0.8729 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.7762, allocations: 11.5 kB / 0.8729 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/0.7767, allocations: 26.69 kB / 0.8729 GB, free: 10.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.7769, allocations: 37.92 kB / 0.873 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.7769, allocations: 29.78 kB / 0.873 GB, free: 10.06 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001396/0.7783, allocations: 0.8845 MB / 0.8739 GB, free: 9.57 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7783, allocations: 0 / 0.8739 GB, free: 9.57 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002426/0.7808, allocations: 0.6451 MB / 0.8745 GB, free: 9.438 MB / 0.67 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.001148/0.7819, allocations: 374.9 kB / 0.8749 GB, free: 9.23 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00319/0.7851, allocations: 1.384 MB / 0.8762 GB, free: 8.465 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.7852, allocations: 2.062 kB / 0.8762 GB, free: 8.465 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007884/0.786, allocations: 325.4 kB / 0.8765 GB, free: 8.32 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003526/0.7895, allocations: 0.5934 MB / 0.8771 GB, free: 8.051 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/0.7945, allocations: 2.291 MB / 0.8793 GB, free: 6.68 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/0.7957, allocations: 1.255 MB / 0.8806 GB, free: 5.715 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/0.7962, allocations: 105.9 kB / 0.8807 GB, free: 5.691 MB / 0.67 GB Notification: Performance of SimCode: time 1.262e-06/0.7962, allocations: 0 / 0.8807 GB, free: 5.691 MB / 0.67 GB Notification: Performance of Templates: time 0.04221/0.8384, allocations: 28.83 MB / 0.9088 GB, free: 9.703 MB / 0.7012 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)