Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008861/0.0008861, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008368/0.0008368, allocations: 172.7 kB / 15.95 MB, free: 208 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.327/1.327, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001784/0.001784, allocations: 275.1 kB / 291.3 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.9594/0.9594, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004051, allocations: 15.66 kB / 0.598 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1414, allocations: 88.54 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4091/0.5505, allocations: 146.7 MB / 0.8278 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.553, allocations: 1.664 MB / 0.8294 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.5532, allocations: 8.062 kB / 0.8294 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.5536, allocations: 107.1 kB / 0.8295 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009415/0.5546, allocations: 386.9 kB / 0.8299 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000836/0.5554, allocations: 335.9 kB / 0.8302 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002686/0.5581, allocations: 2.988 MB / 0.8331 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008141/0.5589, allocations: 0.6907 MB / 0.8338 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.5601, allocations: 0.8641 MB / 0.8346 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007121/0.5609, allocations: 0.7056 MB / 0.8353 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.3e-05/0.561, allocations: 37 kB / 0.8354 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009834/0.5619, allocations: 0.5523 MB / 0.8359 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.5622, allocations: 279.3 kB / 0.8362 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.5624, allocations: 229.5 kB / 0.8364 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009002/0.5633, allocations: 1.019 MB / 0.8374 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.5633, allocations: 0 / 0.8374 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5633, allocations: 0 / 0.8374 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.5634, allocations: 4 kB / 0.8374 GB, free: 9.938 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001831/0.5652, allocations: 1.305 MB / 0.8387 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.5652, allocations: 10.78 kB / 0.8387 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006985/0.5659, allocations: 191.4 kB / 0.8388 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.5672, allocations: 0.7966 MB / 0.8396 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.5672, allocations: 47.38 kB / 0.8397 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.207e-05/0.5673, allocations: 57.34 kB / 0.8397 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.5683, allocations: 0.7912 MB / 0.8405 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.5684, allocations: 6.781 kB / 0.8405 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.5684, allocations: 25.14 kB / 0.8405 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.5684, allocations: 13.78 kB / 0.8405 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008012/0.5692, allocations: 0.5437 MB / 0.8411 GB, free: 7.879 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.003551/0.5728, allocations: 4.599 MB / 0.8456 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000656/0.5735, allocations: 429.7 kB / 0.846 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.5738, allocations: 249.9 kB / 0.8462 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.5741, allocations: 190.9 kB / 0.8464 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004568/0.5746, allocations: 304 kB / 0.8467 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.5746, allocations: 0 / 0.8467 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001215/0.5758, allocations: 0.6524 MB / 0.8473 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.5759, allocations: 79.77 kB / 0.8474 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.577, allocations: 1.117 MB / 0.8485 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.5771, allocations: 36.58 kB / 0.8485 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.5775, allocations: 491.1 kB / 0.849 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.294e-05/0.5776, allocations: 108.3 kB / 0.8491 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.5776, allocations: 11.28 kB / 0.8491 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5777, allocations: 321.5 kB / 0.8494 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.578, allocations: 188.2 kB / 0.8496 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.5786, allocations: 0.4971 MB / 0.8501 GB, free: 424 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.579, allocations: 300.8 kB / 0.8504 GB, free: 252 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.579, allocations: 2.062 kB / 0.8504 GB, free: 252 kB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001005/0.5801, allocations: 0.6755 MB / 0.851 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.5802, allocations: 274.6 kB / 0.8513 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5802, allocations: 2.906 kB / 0.8513 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.5803, allocations: 18.81 kB / 0.8513 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.5807, allocations: 110 kB / 0.8514 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.5807, allocations: 9.781 kB / 0.8514 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006368/0.5813, allocations: 112.6 kB / 0.8515 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.5814, allocations: 23 kB / 0.8515 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.049e-06/0.5814, allocations: 2.688 kB / 0.8516 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008279/0.5822, allocations: 0.5419 MB / 0.8521 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.5823, allocations: 2.844 kB / 0.8521 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/0.5823, allocations: 10.91 kB / 0.8521 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.5826, allocations: 109.1 kB / 0.8522 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.5826, allocations: 19.83 kB / 0.8522 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/0.5832, allocations: 101.8 kB / 0.8523 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.5832, allocations: 21.12 kB / 0.8523 GB, free: 15.07 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004207/0.5837, allocations: 469.6 kB / 0.8528 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/0.5838, allocations: 97.12 kB / 0.8529 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008315/0.5846, allocations: 0.4978 MB / 0.8534 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.5846, allocations: 13.86 kB / 0.8534 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5846, allocations: 0 / 0.8534 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5847, allocations: 3.984 kB / 0.8534 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.5865, allocations: 1.39 MB / 0.8547 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.5865, allocations: 2.875 kB / 0.8547 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.5867, allocations: 69.23 kB / 0.8548 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.5867, allocations: 6.781 kB / 0.8548 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.5868, allocations: 9.156 kB / 0.8548 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.5868, allocations: 3 kB / 0.8548 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5868, allocations: 3.188 kB / 0.8548 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007659/0.5875, allocations: 0.6182 MB / 0.8554 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.5878, allocations: 223.9 kB / 0.8556 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.5879, allocations: 9.266 kB / 0.8557 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004495/0.5884, allocations: 59.41 kB / 0.8557 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.5885, allocations: 29.66 kB / 0.8557 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.5885, allocations: 18.84 kB / 0.8558 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008598/0.5894, allocations: 0.7805 MB / 0.8565 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5894, allocations: 0 / 0.8565 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009719/0.5904, allocations: 418.7 kB / 0.8569 GB, free: 12.25 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 (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003416/0.5907, allocations: 166.3 kB / 0.8571 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001164/0.5919, allocations: 0.8143 MB / 0.8579 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5919, allocations: 2.906 kB / 0.8579 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.5922, allocations: 196.3 kB / 0.8581 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.5941, allocations: 467.2 kB / 0.8585 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.5965, allocations: 1.957 MB / 0.8604 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.5971, allocations: 1.182 MB / 0.8616 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009724/0.5981, allocations: 428.9 kB / 0.862 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.5983, allocations: 73.7 kB / 0.862 GB, free: 9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.5983, allocations: 0 / 0.862 GB, free: 9 MB / 0.5762 GB Notification: Performance of Templates: time 0.02517/0.6235, allocations: 16 MB / 0.8777 GB, free: 9.551 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)