Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 91.38 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.007941/0.007942, allocations: 171.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.001751, allocations: 270.3 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9964/0.9964, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004052, allocations: 15.34 kB / 0.5987 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1582, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.5234/0.6816, allocations: 157.3 MB / 0.8387 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007703/0.6893, allocations: 3.593 MB / 0.8422 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003934/0.6898, allocations: 13.12 kB / 0.8422 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007192/0.6905, allocations: 132.5 kB / 0.8424 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.6925, allocations: 0.5007 MB / 0.8428 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.6943, allocations: 386.7 kB / 0.8432 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005097/0.6994, allocations: 3.498 MB / 0.8466 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.7008, allocations: 0.7493 MB / 0.8474 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.7029, allocations: 0.901 MB / 0.8482 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.7041, allocations: 0.719 MB / 0.8489 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.7043, allocations: 36.47 kB / 0.849 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.7063, allocations: 0.8011 MB / 0.8498 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004095/0.7067, allocations: 277.5 kB / 0.85 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007612/0.7075, allocations: 0.5352 MB / 0.8505 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.7096, allocations: 1.37 MB / 0.8519 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7096, allocations: 4 kB / 0.8519 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7096, allocations: 4 kB / 0.8519 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.7097, allocations: 2.938 kB / 0.8519 GB, free: 15.28 MB / 0.5762 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.003026/0.7127, allocations: 1.262 MB / 0.8531 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.7127, allocations: 11.69 kB / 0.8531 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.7142, allocations: 187 kB / 0.8533 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.7162, allocations: 0.8002 MB / 0.8541 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-05/0.7162, allocations: 44.62 kB / 0.8541 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.7164, allocations: 57.75 kB / 0.8542 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.7182, allocations: 0.7999 MB / 0.855 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.7183, allocations: 2.906 kB / 0.855 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.947e-05/0.7184, allocations: 25.56 kB / 0.855 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.7184, allocations: 13.16 kB / 0.855 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.7198, allocations: 0.543 MB / 0.8555 GB, free: 12.71 MB / 0.5762 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.005589/0.7254, allocations: 4.597 MB / 0.86 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.7265, allocations: 436.6 kB / 0.8605 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005973/0.7271, allocations: 253 kB / 0.8607 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003828/0.7275, allocations: 190.9 kB / 0.8609 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007488/0.7283, allocations: 294.4 kB / 0.8612 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.956e-06/0.7283, allocations: 4 kB / 0.8612 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.007448/0.7357, allocations: 1.686 MB / 0.8628 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.7358, allocations: 80.14 kB / 0.8629 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.7379, allocations: 1.118 MB / 0.864 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.946e-05/0.738, allocations: 42.48 kB / 0.864 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006216/0.7387, allocations: 497.4 kB / 0.8645 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.7388, allocations: 106.6 kB / 0.8646 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.7389, allocations: 42.84 kB / 0.8646 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.7391, allocations: 328.2 kB / 0.8649 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005846/0.7397, allocations: 213.5 kB / 0.8652 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009682/0.7407, allocations: 0.5207 MB / 0.8657 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.7423, allocations: 0.6413 MB / 0.8663 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.7423, allocations: 2.969 kB / 0.8663 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003947/0.7462, allocations: 1.052 MB / 0.8673 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003353/0.7466, allocations: 276.8 kB / 0.8676 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.7466, allocations: 9 kB / 0.8676 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/0.7484, allocations: 383.2 kB / 0.868 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.7488, allocations: 60.62 kB / 0.868 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.7509, allocations: 1.105 MB / 0.8691 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.7523, allocations: 99.66 kB / 0.8692 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.983e-05/0.7524, allocations: 22.91 kB / 0.8692 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.7525, allocations: 7.781 kB / 0.8692 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002141/0.7546, allocations: 0.7325 MB / 0.8699 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.7546, allocations: 8 kB / 0.8699 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008154/0.7555, allocations: 213 kB / 0.8701 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.7558, allocations: 72.06 kB / 0.8702 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005701/0.7615, allocations: 2.998 MB / 0.8731 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.7629, allocations: 99.41 kB / 0.8732 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.626e-05/0.763, allocations: 27.98 kB / 0.8733 GB, free: 14.14 MB / 0.5919 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0009633/0.764, allocations: 469.4 kB / 0.8737 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.7643, allocations: 94.78 kB / 0.8738 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.7665, allocations: 0.7178 MB / 0.8745 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.7665, allocations: 4 kB / 0.8745 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.7665, allocations: 3.938 kB / 0.8745 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.7666, allocations: 7.984 kB / 0.8745 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/0.7706, allocations: 1.626 MB / 0.8761 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.7707, allocations: 3.938 kB / 0.8761 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.7709, allocations: 23.98 kB / 0.8761 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008516/0.7718, allocations: 247.4 kB / 0.8764 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/0.7718, allocations: 11.98 kB / 0.8764 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.7735, allocations: 1.042 MB / 0.8774 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/0.7735, allocations: 4.094 kB / 0.8774 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.7757, allocations: 0.8418 MB / 0.8782 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000556/0.7762, allocations: 219.8 kB / 0.8784 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.7764, allocations: 8 kB / 0.8784 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008847/0.7773, allocations: 51.89 kB / 0.8785 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.7775, allocations: 35.77 kB / 0.8785 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.7775, allocations: 15.92 kB / 0.8785 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001663/0.7792, allocations: 0.7916 MB / 0.8793 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7792, allocations: 0 / 0.8793 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002083/0.7813, allocations: 439.4 kB / 0.8797 GB, free: 7.32 MB / 0.5919 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005252/0.7819, allocations: 180.8 kB / 0.8799 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003767/0.7856, allocations: 1.208 MB / 0.8811 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.7857, allocations: 7.938 kB / 0.8811 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008373/0.7865, allocations: 286 kB / 0.8814 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003355/0.7899, allocations: 448.8 kB / 0.8818 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.793, allocations: 2.102 MB / 0.8838 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.7938, allocations: 1.181 MB / 0.885 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008907/0.7947, allocations: 299.9 kB / 0.8853 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.7948, allocations: 67.42 kB / 0.8853 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of SimCode: time 7.31e-07/0.7948, allocations: 4 kB / 0.8853 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of Templates: time 0.02984/0.8246, allocations: 18.4 MB / 0.9033 GB, free: 15.23 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)