Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 102.6 kB / 16.29 MB, free: 6.43 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.001179/0.00118, allocations: 189.4 kB / 17.22 MB, free: 5.926 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.475/1.475, 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.752/1.752, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001441/0.001441, allocations: 67.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.262, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.5205/0.7825, allocations: 72.61 MB / 0.855 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03037/0.813, allocations: 20.06 MB / 0.8746 GB, free: 2.945 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004536/0.8176, allocations: 97.16 kB / 0.8747 GB, free: 2.906 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003706/0.8213, allocations: 1.008 MB / 0.8756 GB, free: 2.312 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007505/0.8289, allocations: 2.346 MB / 0.8779 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006132/0.835, allocations: 2.073 MB / 0.88 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.011/0.846, allocations: 8.009 MB / 0.8878 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008369/0.8544, allocations: 6.106 MB / 0.8937 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008027/0.8625, allocations: 3.261 MB / 0.8969 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005042/0.8675, allocations: 2.5 MB / 0.8994 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006472/0.8682, allocations: 254.1 kB / 0.8996 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004126/0.8723, allocations: 1.37 MB / 0.9009 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008315/0.8732, allocations: 0.7606 MB / 0.9017 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002688/0.8759, allocations: 1.762 MB / 0.9034 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005626/0.8815, allocations: 4.724 MB / 0.908 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8815, allocations: 0 / 0.908 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8816, allocations: 0 / 0.908 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.498e-05/0.8816, allocations: 0 / 0.908 GB, free: 11.84 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.00645/0.8881, allocations: 3.941 MB / 0.9119 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.8881, allocations: 12.03 kB / 0.9119 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.8902, allocations: 0.5423 MB / 0.9124 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00421/0.8944, allocations: 2.592 MB / 0.9149 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.8945, allocations: 139.8 kB / 0.9151 GB, free: 4.465 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002596/0.8948, allocations: 187.9 kB / 0.9153 GB, free: 4.281 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003371/0.8982, allocations: 2.33 MB / 0.9175 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.8982, allocations: 7.938 kB / 0.9175 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.8984, allocations: 68 kB / 0.9176 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.8984, allocations: 40 kB / 0.9176 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/0.9015, allocations: 1.861 MB / 0.9195 GB, free: 15.82 MB / 0.7169 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.01317/0.9147, allocations: 11.09 MB / 0.9303 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.9173, allocations: 1.346 MB / 0.9316 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.9188, allocations: 1.001 MB / 0.9326 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005532/0.9243, allocations: 3.635 MB / 0.9361 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001373/0.9257, allocations: 0.7662 MB / 0.9369 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001323/0.927, allocations: 234.9 kB / 0.9371 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 1.244e-05/0.9271, allocations: 4 kB / 0.9371 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.01167/0.9387, allocations: 4.165 MB / 0.9412 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.9388, allocations: 68.41 kB / 0.9412 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005093/0.9439, allocations: 2.859 MB / 0.944 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.9441, allocations: 53.7 kB / 0.9441 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001455/0.9455, allocations: 1.432 MB / 0.9455 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000378/0.9459, allocations: 343.2 kB / 0.9458 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006023/0.9465, allocations: 351.6 kB / 0.9461 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.9467, allocations: 305.1 kB / 0.9464 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.948, allocations: 0.6809 MB / 0.9471 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.9498, allocations: 1.44 MB / 0.9485 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/0.9527, allocations: 1.904 MB / 0.9504 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.9528, allocations: 4 kB / 0.9504 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005753/0.9585, allocations: 2.845 MB / 0.9531 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/0.9586, allocations: 41.64 kB / 0.9532 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.9586, allocations: 16.84 kB / 0.9532 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/0.961, allocations: 0.6939 MB / 0.9539 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.9621, allocations: 297 kB / 0.9542 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.964, allocations: 1.904 MB / 0.956 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.9657, allocations: 101 kB / 0.9561 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/0.9659, allocations: 87.95 kB / 0.9562 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002172/0.9681, allocations: 1.273 MB / 0.9574 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001597/0.9697, allocations: 1.38 MB / 0.9588 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002578/0.9723, allocations: 1.816 MB / 0.9606 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.412e-05/0.9723, allocations: 12 kB / 0.9606 GB, free: 3.676 MB / 0.7481 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004611/0.977, allocations: 2.693 MB / 0.9632 GB, free: 0.9414 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.977, allocations: 38.95 kB / 0.9632 GB, free: 0.8984 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.977, allocations: 19.98 kB / 0.9633 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009087/0.978, allocations: 477.9 kB / 0.9637 GB, free: 416 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.979, allocations: 289.4 kB / 0.964 GB, free: 124 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006698/0.9857, allocations: 6.324 MB / 0.9702 GB, free: 9.508 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.9875, allocations: 113.5 kB / 0.9703 GB, free: 9.398 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.9877, allocations: 83.95 kB / 0.9704 GB, free: 9.316 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005073/0.9882, allocations: 284.5 kB / 0.9706 GB, free: 9.035 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000784/0.989, allocations: 300.2 kB / 0.9709 GB, free: 8.738 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004988/0.994, allocations: 2.425 MB / 0.9733 GB, free: 6.309 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.994, allocations: 15.98 kB / 0.9733 GB, free: 6.293 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.994, allocations: 0 / 0.9733 GB, free: 6.293 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003365/0.9974, allocations: 2.068 MB / 0.9753 GB, free: 4.164 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007896/1.005, allocations: 4.366 MB / 0.9796 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/1.005, allocations: 3.984 kB / 0.9796 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008051/1.006, allocations: 165.6 kB / 0.9797 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/1.007, allocations: 485.3 kB / 0.9802 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.323e-05/1.007, allocations: 31.98 kB / 0.9802 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/1.009, allocations: 1.861 MB / 0.9821 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.009, allocations: 0 / 0.9821 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005315/1.014, allocations: 3.115 MB / 0.9851 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/1.015, allocations: 477.2 kB / 0.9855 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005787/1.016, allocations: 20 kB / 0.9856 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/1.017, allocations: 79.73 kB / 0.9856 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/1.017, allocations: 80.88 kB / 0.9857 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/1.017, allocations: 43.98 kB / 0.9858 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003273/1.021, allocations: 1.951 MB / 0.9877 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.91e-07/1.021, allocations: 0 / 0.9877 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003964/1.025, allocations: 1.349 MB / 0.989 GB, free: 5.988 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001248/1.026, allocations: 467.6 kB / 0.9894 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005788/1.032, allocations: 3.18 MB / 0.9925 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/1.032, allocations: 4.188 kB / 0.9925 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/1.033, allocations: 0.7956 MB / 0.9933 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004944/1.038, allocations: 1.259 MB / 0.9945 GB, free: 284 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008751/1.047, allocations: 5.115 MB / 0.9995 GB, free: 11.13 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/1.049, allocations: 2.053 MB / 1.002 GB, free: 9.051 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00244/1.052, allocations: 0.683 MB / 1.002 GB, free: 8.367 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/1.052, allocations: 215.4 kB / 1.002 GB, free: 8.156 MB / 0.795 GB Notification: Performance of SimCode: time 7.22e-07/1.052, allocations: 0 / 1.002 GB, free: 8.156 MB / 0.795 GB Notification: Performance of Templates: time 0.09001/1.142, allocations: 54.75 MB / 1.056 GB, free: 2.203 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)