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.001112/0.001112, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009128/0.009128, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.411/1.411, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.739/1.739, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005813/0.0005814, allocations: 20 kB / 0.6743 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2254, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.6222/0.8476, allocations: 157.3 MB / 0.9415 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004783/0.8525, allocations: 3.569 MB / 0.945 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004925/0.853, allocations: 9.094 kB / 0.945 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.8536, allocations: 143.3 kB / 0.9451 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.855, allocations: 0.5011 MB / 0.9456 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.8563, allocations: 386.6 kB / 0.946 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005353/0.8617, allocations: 3.488 MB / 0.9494 GB, free: 180 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.8634, allocations: 0.761 MB / 0.9501 GB, free: 32 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.8657, allocations: 0.9084 MB / 0.951 GB, free: 0 / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.867, allocations: 0.7188 MB / 0.9517 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.8673, allocations: 41.69 kB / 0.9517 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.8691, allocations: 0.799 MB / 0.9525 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004191/0.8695, allocations: 281.1 kB / 0.9528 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.8706, allocations: 0.5331 MB / 0.9533 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.8725, allocations: 1.366 MB / 0.9547 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8725, allocations: 1.25 kB / 0.9547 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8726, allocations: 0 / 0.9547 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.8726, allocations: 0 / 0.9547 GB, free: 15.72 MB / 0.7325 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.002255/0.8748, allocations: 1.263 MB / 0.9559 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.8749, allocations: 10.47 kB / 0.9559 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007798/0.8757, allocations: 191.9 kB / 0.9561 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.8769, allocations: 0.8031 MB / 0.9569 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.877, allocations: 41.16 kB / 0.9569 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.361e-05/0.8771, allocations: 59.16 kB / 0.957 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.8783, allocations: 0.7955 MB / 0.9577 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.8783, allocations: 2.219 kB / 0.9577 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.8784, allocations: 28.3 kB / 0.9578 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.8784, allocations: 13.62 kB / 0.9578 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009172/0.8793, allocations: 0.548 MB / 0.9583 GB, free: 14.19 MB / 0.7325 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.004224/0.8835, allocations: 4.597 MB / 0.9628 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007038/0.8843, allocations: 428.4 kB / 0.9632 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.8846, allocations: 254.9 kB / 0.9635 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003411/0.885, allocations: 200.1 kB / 0.9636 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005352/0.8855, allocations: 301.3 kB / 0.9639 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.8856, allocations: 1.156 kB / 0.9639 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.004119/0.8897, allocations: 1.344 MB / 0.9652 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.8898, allocations: 93.66 kB / 0.9653 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.8913, allocations: 1.12 MB / 0.9664 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/0.8914, allocations: 36.95 kB / 0.9665 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.8918, allocations: 492.6 kB / 0.9669 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.8919, allocations: 107.6 kB / 0.967 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.236e-05/0.892, allocations: 46.5 kB / 0.9671 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.8922, allocations: 322.7 kB / 0.9674 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.8926, allocations: 210.6 kB / 0.9676 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006925/0.8933, allocations: 0.523 MB / 0.9681 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008447/0.8941, allocations: 0.6391 MB / 0.9687 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.8941, allocations: 1.156 kB / 0.9687 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002283/0.8964, allocations: 1.057 MB / 0.9698 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001933/0.8966, allocations: 282.7 kB / 0.97 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.8967, allocations: 6.375 kB / 0.97 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.898, allocations: 367.4 kB / 0.9704 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.8982, allocations: 63.38 kB / 0.9704 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009933/0.8992, allocations: 1.016 MB / 0.9714 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009167/0.9002, allocations: 96.41 kB / 0.9715 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.9003, allocations: 25.92 kB / 0.9716 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.9003, allocations: 3.375 kB / 0.9716 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00135/0.9016, allocations: 0.7258 MB / 0.9723 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.9016, allocations: 5.25 kB / 0.9723 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004708/0.9021, allocations: 211.7 kB / 0.9725 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.9023, allocations: 66.31 kB / 0.9725 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/0.9059, allocations: 3.088 MB / 0.9756 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000859/0.9068, allocations: 89.47 kB / 0.9756 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.9068, allocations: 23.53 kB / 0.9757 GB, free: 4.453 MB / 0.7325 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.000652/0.9075, allocations: 467.7 kB / 0.9761 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.9077, allocations: 101.1 kB / 0.9762 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.909, allocations: 0.7188 MB / 0.9769 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.909, allocations: 9.922 kB / 0.9769 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.909, allocations: 1.75 kB / 0.9769 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.909, allocations: 0 / 0.9769 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.9115, allocations: 1.616 MB / 0.9785 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.9115, allocations: 0 / 0.9785 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.9116, allocations: 23.48 kB / 0.9785 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000438/0.9121, allocations: 234.6 kB / 0.9787 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.9121, allocations: 16.66 kB / 0.9788 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008714/0.913, allocations: 0.974 MB / 0.9797 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.913, allocations: 3.188 kB / 0.9797 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.9143, allocations: 0.8383 MB / 0.9805 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.9148, allocations: 222.5 kB / 0.9807 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/0.915, allocations: 6.375 kB / 0.9807 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/0.9156, allocations: 56.2 kB / 0.9808 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.812e-05/0.9157, allocations: 33.83 kB / 0.9808 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.9158, allocations: 11.94 kB / 0.9808 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00118/0.917, allocations: 0.797 MB / 0.9816 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.917, allocations: 1.859 kB / 0.9816 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001362/0.9183, allocations: 432 kB / 0.982 GB, free: 1.461 MB / 0.7325 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.0004313/0.9188, allocations: 182.7 kB / 0.9822 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001886/0.9207, allocations: 1.083 MB / 0.9833 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.9207, allocations: 0 / 0.9833 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004739/0.9212, allocations: 245.5 kB / 0.9835 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.9234, allocations: 451.3 kB / 0.9839 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.9264, allocations: 2.064 MB / 0.9859 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/0.9271, allocations: 1.188 MB / 0.9871 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009101/0.928, allocations: 311.8 kB / 0.9874 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.9282, allocations: 60.41 kB / 0.9875 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of SimCode: time 8.11e-07/0.9282, allocations: 0 / 0.9875 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of Templates: time 0.03028/0.9584, allocations: 18.8 MB / 1.006 GB, free: 5.273 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: