Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 178.7 kB / 327.3 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 0.5783 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007772/0.0007773, allocations: 99.94 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003149, allocations: 9.906 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2577, allocations: 106.4 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.04262/0.3004, allocations: 30.16 MB / 0.9303 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02625/0.3267, allocations: 12.25 MB / 0.9422 GB, free: 21.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.3291, allocations: 39.69 kB / 0.9423 GB, free: 21.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002975/0.3321, allocations: 0.4893 MB / 0.9428 GB, free: 20.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006214/0.3383, allocations: 1.278 MB / 0.944 GB, free: 19.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005281/0.3436, allocations: 1.076 MB / 0.9451 GB, free: 18.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.008091/0.3518, allocations: 5.492 MB / 0.9504 GB, free: 13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003454/0.3553, allocations: 1.596 MB / 0.952 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004269/0.3595, allocations: 1.56 MB / 0.9535 GB, free: 9.816 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002933/0.3625, allocations: 1.291 MB / 0.9548 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005135/0.363, allocations: 68 kB / 0.9548 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004037/0.3671, allocations: 0.8854 MB / 0.9557 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008115/0.3679, allocations: 382.3 kB / 0.9561 GB, free: 7.191 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.369, allocations: 400.7 kB / 0.9564 GB, free: 6.793 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003818/0.3729, allocations: 2.167 MB / 0.9586 GB, free: 4.621 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3729, allocations: 0 / 0.9586 GB, free: 4.621 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3729, allocations: 4 kB / 0.9586 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.647e-05/0.373, allocations: 0 / 0.9586 GB, free: 4.617 MB / 0.6042 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.006032/0.3791, allocations: 2.085 MB / 0.9606 GB, free: 2.465 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.3791, allocations: 8.031 kB / 0.9606 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.3812, allocations: 317.2 kB / 0.9609 GB, free: 2.145 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004771/0.386, allocations: 1.579 MB / 0.9625 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.3861, allocations: 82 kB / 0.9625 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003023/0.3864, allocations: 104 kB / 0.9626 GB, free: 344 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004221/0.3907, allocations: 1.326 MB / 0.9639 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/0.3907, allocations: 7.938 kB / 0.9639 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00022/0.391, allocations: 43.98 kB / 0.964 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.631e-05/0.391, allocations: 28 kB / 0.964 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004019/0.3951, allocations: 1.058 MB / 0.965 GB, free: 13.8 MB / 0.6198 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.01626/0.4113, allocations: 6.969 MB / 0.9718 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002832/0.4142, allocations: 0.672 MB / 0.9725 GB, free: 5.641 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.4157, allocations: 439 kB / 0.9729 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005576/0.4213, allocations: 1.827 MB / 0.9747 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001498/0.4228, allocations: 412.8 kB / 0.9751 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001185/0.4241, allocations: 111.3 kB / 0.9752 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=46): time 6.913e-06/0.4241, allocations: 0 / 0.9752 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46): time 0.007878/0.432, allocations: 1.524 MB / 0.9767 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.4321, allocations: 59.41 kB / 0.9767 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005186/0.4373, allocations: 1.85 MB / 0.9785 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.4375, allocations: 37.7 kB / 0.9786 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001385/0.4389, allocations: 0.8542 MB / 0.9794 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.4392, allocations: 157.8 kB / 0.9796 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/0.4393, allocations: 16 kB / 0.9796 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.4395, allocations: 337.9 kB / 0.9799 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.4408, allocations: 321.8 kB / 0.9802 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.4428, allocations: 0.78 MB / 0.981 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.4444, allocations: 462.2 kB / 0.9814 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.4445, allocations: 0 / 0.9814 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005834/0.4503, allocations: 1.347 MB / 0.9827 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005622/0.4509, allocations: 427.6 kB / 0.9831 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.262e-05/0.451, allocations: 12 kB / 0.9832 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/0.4526, allocations: 228.6 kB / 0.9834 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.454, allocations: 171.7 kB / 0.9835 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.4553, allocations: 0.841 MB / 0.9844 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/0.4579, allocations: 128.4 kB / 0.9845 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.4581, allocations: 43.98 kB / 0.9845 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4581, allocations: 4 kB / 0.9845 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003494/0.4616, allocations: 1.036 MB / 0.9855 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.4617, allocations: 8 kB / 0.9855 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007636/0.4624, allocations: 159.1 kB / 0.9857 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.4636, allocations: 171.9 kB / 0.9859 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00476/0.4684, allocations: 2.348 MB / 0.9882 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/0.471, allocations: 108.5 kB / 0.9883 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.4711, allocations: 44 kB / 0.9883 GB, free: 4.645 MB / 0.6355 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001705/0.4728, allocations: 0.5883 MB / 0.9889 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007132/0.4736, allocations: 169.8 kB / 0.989 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004276/0.4779, allocations: 1.078 MB / 0.9901 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/0.4779, allocations: 15.95 kB / 0.9901 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4779, allocations: 0 / 0.9901 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003227/0.4812, allocations: 1.015 MB / 0.9911 GB, free: 1.688 MB / 0.6355 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 postOpt removeSimpleEquations (simulation): time 0.008061/0.4893, allocations: 2.312 MB / 0.9933 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.4893, allocations: 4 kB / 0.9934 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000913/0.4902, allocations: 91.86 kB / 0.9934 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006955/0.4909, allocations: 148.7 kB / 0.9936 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.247e-05/0.491, allocations: 19.94 kB / 0.9936 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.4923, allocations: 0.8068 MB / 0.9944 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4923, allocations: 0 / 0.9944 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005501/0.4978, allocations: 1.487 MB / 0.9958 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/0.4992, allocations: 350.6 kB / 0.9962 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005382/0.4998, allocations: 12 kB / 0.9962 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002083/0.5019, allocations: 95.86 kB / 0.9963 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.5021, allocations: 44.38 kB / 0.9963 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.5022, allocations: 23.98 kB / 0.9963 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003626/0.5058, allocations: 1.277 MB / 0.9976 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/0.5059, allocations: 4 kB / 0.9976 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004473/0.5103, allocations: 0.8423 MB / 0.9984 GB, free: 9.992 MB / 0.6511 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 (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001386/0.5118, allocations: 358.5 kB / 0.9988 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005468/0.5172, allocations: 1.533 MB / 1 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5173, allocations: 4.188 kB / 1 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.5187, allocations: 362.1 kB / 1.001 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007701/0.5264, allocations: 0.8589 MB / 1.001 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008991/0.5354, allocations: 3.503 MB / 1.005 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/0.5373, allocations: 1.476 MB / 1.006 GB, free: 1.812 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006377/0.5379, allocations: 131.4 kB / 1.006 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of SimCode: time 1.072e-06/0.538, allocations: 0 / 1.006 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of Templates: time 0.08799/0.626, allocations: 37.5 MB / 1.043 GB, free: 12.36 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)