Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007868/0.0007868, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008345/0.0008346, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 286.4 kB / 291.4 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9509/0.9509, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003991, allocations: 17.42 kB / 0.598 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4056/0.5457, allocations: 146.7 MB / 0.8278 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003963/0.5497, allocations: 3.364 MB / 0.8311 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.5499, allocations: 8.688 kB / 0.8311 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.5504, allocations: 118.8 kB / 0.8312 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009942/0.5514, allocations: 389.1 kB / 0.8316 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009681/0.5524, allocations: 375.9 kB / 0.8319 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002777/0.5551, allocations: 3.003 MB / 0.8348 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008397/0.556, allocations: 0.6863 MB / 0.8355 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.5572, allocations: 0.8658 MB / 0.8364 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007135/0.5579, allocations: 0.7073 MB / 0.837 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.143e-05/0.558, allocations: 33.66 kB / 0.8371 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.559, allocations: 0.561 MB / 0.8376 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.5593, allocations: 277.9 kB / 0.8379 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.5595, allocations: 233.8 kB / 0.8381 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009555/0.5605, allocations: 1.018 MB / 0.8391 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5605, allocations: 0 / 0.8391 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5605, allocations: 0 / 0.8391 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.5605, allocations: 0 / 0.8391 GB, free: 9.168 MB / 0.5606 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.001865/0.5624, allocations: 1.311 MB / 0.8404 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.5624, allocations: 7.906 kB / 0.8404 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007244/0.5632, allocations: 193 kB / 0.8406 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.5644, allocations: 0.7975 MB / 0.8414 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.5645, allocations: 41.62 kB / 0.8414 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-05/0.5645, allocations: 65.27 kB / 0.8415 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.5656, allocations: 0.7916 MB / 0.8422 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.5657, allocations: 0 / 0.8422 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.5657, allocations: 21.78 kB / 0.8423 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.5658, allocations: 19.69 kB / 0.8423 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000872/0.5666, allocations: 0.5459 MB / 0.8428 GB, free: 6.59 MB / 0.5606 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.003549/0.5702, allocations: 4.607 MB / 0.8473 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006577/0.5709, allocations: 429.8 kB / 0.8477 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.5712, allocations: 251 kB / 0.848 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.5715, allocations: 197.7 kB / 0.8481 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004661/0.572, allocations: 309.8 kB / 0.8484 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.754e-06/0.572, allocations: 0 / 0.8484 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.003578/0.5756, allocations: 1.338 MB / 0.8497 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.5757, allocations: 86.17 kB / 0.8498 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.5768, allocations: 1.115 MB / 0.8509 GB, free: 108 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.5769, allocations: 32.2 kB / 0.851 GB, free: 72 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/0.5773, allocations: 499.5 kB / 0.8514 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-05/0.5774, allocations: 114.3 kB / 0.8515 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.5774, allocations: 8 kB / 0.8515 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.5775, allocations: 319.8 kB / 0.8518 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.5779, allocations: 187.3 kB / 0.852 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/0.5784, allocations: 0.5006 MB / 0.8525 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004078/0.5788, allocations: 291 kB / 0.8528 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5789, allocations: 0 / 0.8528 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002068/0.5809, allocations: 0.9892 MB / 0.8538 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.5811, allocations: 276.4 kB / 0.854 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.5811, allocations: 6.875 kB / 0.854 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/0.5825, allocations: 335 kB / 0.8543 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.5827, allocations: 69.2 kB / 0.8544 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009134/0.5836, allocations: 1.012 MB / 0.8554 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/0.5843, allocations: 104.8 kB / 0.8555 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.5844, allocations: 25.05 kB / 0.8555 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.5844, allocations: 4.562 kB / 0.8555 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001283/0.5857, allocations: 0.7313 MB / 0.8562 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5857, allocations: 10 kB / 0.8563 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005083/0.5862, allocations: 214.9 kB / 0.8565 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.5864, allocations: 70.22 kB / 0.8565 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/0.5899, allocations: 3.118 MB / 0.8596 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/0.5905, allocations: 91.78 kB / 0.8597 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.5906, allocations: 30.78 kB / 0.8597 GB, free: 9.543 MB / 0.5762 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005039/0.5911, allocations: 458.8 kB / 0.8601 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.5912, allocations: 108.1 kB / 0.8602 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.5924, allocations: 0.7281 MB / 0.8609 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.5925, allocations: 6.859 kB / 0.8609 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.5925, allocations: 0 / 0.8609 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5925, allocations: 3.984 kB / 0.861 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.5947, allocations: 1.62 MB / 0.8625 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.5947, allocations: 6.844 kB / 0.8625 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.5949, allocations: 23.08 kB / 0.8626 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/0.5953, allocations: 219.9 kB / 0.8628 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.5953, allocations: 10.39 kB / 0.8628 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007972/0.5961, allocations: 0.9831 MB / 0.8637 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5961, allocations: 3.312 kB / 0.8637 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.5973, allocations: 0.8492 MB / 0.8646 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.5976, allocations: 223.2 kB / 0.8648 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.5977, allocations: 10.8 kB / 0.8648 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/0.5982, allocations: 57.55 kB / 0.8649 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.782e-05/0.5982, allocations: 33.66 kB / 0.8649 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.5983, allocations: 15.47 kB / 0.8649 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008761/0.5992, allocations: 0.7876 MB / 0.8657 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5992, allocations: 0 / 0.8657 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001184/0.6004, allocations: 453.4 kB / 0.8661 GB, free: 5.141 MB / 0.5762 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 (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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003606/0.6007, allocations: 163.1 kB / 0.8663 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.6025, allocations: 1.073 MB / 0.8673 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6025, allocations: 0 / 0.8673 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004918/0.603, allocations: 235 kB / 0.8675 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.6049, allocations: 473.6 kB / 0.868 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.6075, allocations: 1.968 MB / 0.8699 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/0.6082, allocations: 1.185 MB / 0.8711 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008458/0.6091, allocations: 323.6 kB / 0.8714 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.6092, allocations: 59.42 kB / 0.8714 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.6092, allocations: 0 / 0.8714 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of Templates: time 0.02818/0.6374, allocations: 18.38 MB / 0.8894 GB, free: 13.41 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)