Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.001652/0.001652, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.531/1.531, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.733/1.733, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.0014/0.0014, allocations: 67.19 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2549, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.6658/0.9207, allocations: 161.6 MB / 0.9426 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009847/0.9307, allocations: 3.606 MB / 0.9461 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.9313, allocations: 15.88 kB / 0.9461 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000963/0.9323, allocations: 159.7 kB / 0.9463 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.9349, allocations: 0.5289 MB / 0.9468 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.9372, allocations: 433.1 kB / 0.9472 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00495/0.9422, allocations: 2.545 MB / 0.9497 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.9443, allocations: 0.9368 MB / 0.9506 GB, free: 220 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00291/0.9472, allocations: 1.032 MB / 0.9516 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.9488, allocations: 0.7117 MB / 0.9523 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.9489, allocations: 52 kB / 0.9524 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002523/0.9515, allocations: 0.7406 MB / 0.9531 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005512/0.9521, allocations: 307.4 kB / 0.9534 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.9531, allocations: 0.5479 MB / 0.9539 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.9557, allocations: 1.402 MB / 0.9553 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9557, allocations: 0 / 0.9553 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.806e-06/0.9557, allocations: 0 / 0.9553 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.304e-05/0.9558, allocations: 1.219 kB / 0.9553 GB, free: 11.42 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003871/0.9596, allocations: 1.46 MB / 0.9567 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.9597, allocations: 8.031 kB / 0.9567 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.9611, allocations: 190.4 kB / 0.9569 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/0.9635, allocations: 0.8491 MB / 0.9577 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.9636, allocations: 44.98 kB / 0.9578 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.9637, allocations: 60 kB / 0.9578 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.9658, allocations: 0.7888 MB / 0.9586 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.9659, allocations: 3.938 kB / 0.9586 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.409e-05/0.966, allocations: 24 kB / 0.9586 GB, free: 7.805 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.966, allocations: 16 kB / 0.9587 GB, free: 7.789 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.9678, allocations: 0.5344 MB / 0.9592 GB, free: 7.25 MB / 0.7481 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.007648/0.9755, allocations: 4.579 MB / 0.9637 GB, free: 2.289 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.9768, allocations: 428.3 kB / 0.9641 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006797/0.9775, allocations: 240.7 kB / 0.9643 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004745/0.978, allocations: 190.2 kB / 0.9645 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008434/0.9789, allocations: 303.1 kB / 0.9648 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 3.787e-06/0.9789, allocations: 4 kB / 0.9648 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.006128/0.985, allocations: 1.307 MB / 0.966 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.9851, allocations: 85.11 kB / 0.9661 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.9868, allocations: 1.123 MB / 0.9672 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.464e-05/0.9868, allocations: 37.7 kB / 0.9673 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/0.9873, allocations: 484.3 kB / 0.9677 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.9874, allocations: 110.4 kB / 0.9678 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.9876, allocations: 114 kB / 0.9679 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.9877, allocations: 318 kB / 0.9682 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.9881, allocations: 222.4 kB / 0.9684 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/0.9888, allocations: 0.5174 MB / 0.969 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008877/0.9897, allocations: 0.6312 MB / 0.9696 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/0.9897, allocations: 4 kB / 0.9696 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002406/0.9921, allocations: 1.045 MB / 0.9706 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.9922, allocations: 33.77 kB / 0.9706 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.9922, allocations: 15.98 kB / 0.9706 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.9936, allocations: 348.2 kB / 0.971 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.9938, allocations: 63.91 kB / 0.971 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.995, allocations: 1.009 MB / 0.972 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/0.9958, allocations: 78.19 kB / 0.9721 GB, free: 9.289 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.9959, allocations: 27.98 kB / 0.9721 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007651/0.9967, allocations: 0.4967 MB / 0.9726 GB, free: 8.758 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000572/0.9972, allocations: 499 kB / 0.9731 GB, free: 8.145 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007772/0.998, allocations: 0.5575 MB / 0.9736 GB, free: 7.508 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.431e-06/0.998, allocations: 4 kB / 0.9736 GB, free: 7.504 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001721/0.9998, allocations: 0.8227 MB / 0.9744 GB, free: 6.664 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.9998, allocations: 38.52 kB / 0.9745 GB, free: 6.621 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.9998, allocations: 8 kB / 0.9745 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000521/1, allocations: 208.7 kB / 0.9747 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/1.001, allocations: 71.78 kB / 0.9747 GB, free: 6.336 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/1.005, allocations: 3.33 MB / 0.978 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008047/1.006, allocations: 72.05 kB / 0.9781 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/1.006, allocations: 20 kB / 0.9781 GB, free: 2.758 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * 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 {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002428/1.006, allocations: 218 kB / 0.9783 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/1.006, allocations: 102.7 kB / 0.9784 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/1.008, allocations: 0.7055 MB / 0.9791 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/1.008, allocations: 4 kB / 0.9791 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.008, allocations: 0 / 0.9791 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.008, allocations: 2.438 kB / 0.9791 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/1.01, allocations: 1.611 MB / 0.9807 GB, free: 32 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.01, allocations: 0 / 0.9807 GB, free: 32 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/1.011, allocations: 19.98 kB / 0.9807 GB, free: 12 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004978/1.011, allocations: 236.1 kB / 0.9809 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/1.011, allocations: 8.219 kB / 0.9809 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009596/1.012, allocations: 0.9775 MB / 0.9819 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.012, allocations: 4.031 kB / 0.9819 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/1.013, allocations: 0.8296 MB / 0.9827 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/1.014, allocations: 211.9 kB / 0.9829 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/1.014, allocations: 8 kB / 0.9829 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/1.014, allocations: 27.91 kB / 0.9829 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.695e-05/1.015, allocations: 27.97 kB / 0.9829 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/1.015, allocations: 15.98 kB / 0.983 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001171/1.016, allocations: 0.7877 MB / 0.9837 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/1.016, allocations: 0 / 0.9837 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001411/1.017, allocations: 439.4 kB / 0.9841 GB, free: 12.36 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004986/1.018, allocations: 164.1 kB / 0.9843 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002203/1.02, allocations: 1.082 MB / 0.9854 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.02, allocations: 0 / 0.9854 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005127/1.02, allocations: 240.2 kB / 0.9856 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/1.023, allocations: 470.9 kB / 0.986 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/1.026, allocations: 1.787 MB / 0.9878 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008841/1.027, allocations: 1.184 MB / 0.9889 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/1.027, allocations: 63.42 kB / 0.989 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of SimCode: time 6.41e-07/1.027, allocations: 0 / 0.989 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of Templates: time 0.03022/1.057, allocations: 20.32 MB / 1.009 GB, free: 3.148 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)