Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008225/0.0008225, allocations: 93.41 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009035/0.0009036, allocations: 174 kB / 16.58 MB, free: 5.66 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.349/1.349, allocations: 223.3 MB / 240.6 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7089/0.7089, allocations: 115.5 MB / 407.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003987, allocations: 9.094 kB / 495.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1365, allocations: 77.53 MB / 0.5593 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.4023/0.5388, allocations: 152.4 MB / 0.7081 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003349/0.5422, allocations: 2.069 MB / 0.7102 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003152/0.5425, allocations: 15.88 kB / 0.7102 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005648/0.5431, allocations: 159 kB / 0.7103 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.5445, allocations: 0.4976 MB / 0.7108 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.5456, allocations: 366.7 kB / 0.7112 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003318/0.5489, allocations: 3.255 MB / 0.7143 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002858/0.5518, allocations: 2.293 MB / 0.7166 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.5538, allocations: 1.054 MB / 0.7176 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.5549, allocations: 0.8521 MB / 0.7184 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.555, allocations: 48 kB / 0.7185 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.5564, allocations: 0.5964 MB / 0.7191 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.5568, allocations: 330.8 kB / 0.7194 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.5571, allocations: 249.1 kB / 0.7196 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.5584, allocations: 1.181 MB / 0.7208 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5584, allocations: 0 / 0.7208 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5584, allocations: 0 / 0.7208 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.5584, allocations: 0 / 0.7208 GB, free: 1.902 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00248/0.5609, allocations: 1.515 MB / 0.7223 GB, free: 332 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.561, allocations: 12.03 kB / 0.7223 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008533/0.5618, allocations: 198.4 kB / 0.7225 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.5634, allocations: 0.8677 MB / 0.7233 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.5634, allocations: 49.31 kB / 0.7234 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.5635, allocations: 67.95 kB / 0.7234 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.5651, allocations: 0.9898 MB / 0.7244 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.5652, allocations: 7.922 kB / 0.7244 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-05/0.5653, allocations: 28 kB / 0.7244 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.5653, allocations: 16 kB / 0.7244 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.5666, allocations: 0.8038 MB / 0.7252 GB, free: 13.16 MB / 0.545 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.004588/0.5712, allocations: 4.816 MB / 0.7299 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00256/0.5738, allocations: 4.022 MB / 0.7338 GB, free: 3.156 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/0.5743, allocations: 349.2 kB / 0.7342 GB, free: 2.812 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/0.5746, allocations: 194.5 kB / 0.7344 GB, free: 2.586 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005303/0.5751, allocations: 330.3 kB / 0.7347 GB, free: 2.246 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000291/0.5754, allocations: 31.69 kB / 0.7347 GB, free: 2.215 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 1.733e-06/0.5754, allocations: 3.938 kB / 0.7347 GB, free: 2.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.004569/0.58, allocations: 1.598 MB / 0.7363 GB, free: 0.582 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.5801, allocations: 81.11 kB / 0.7364 GB, free: 496 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.5816, allocations: 1.177 MB / 0.7375 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/0.5816, allocations: 37.69 kB / 0.7375 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.5821, allocations: 0.516 MB / 0.738 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.5822, allocations: 118.3 kB / 0.7382 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.5822, allocations: 8 kB / 0.7382 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5824, allocations: 333.9 kB / 0.7385 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.5827, allocations: 205 kB / 0.7387 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/0.5834, allocations: 0.5332 MB / 0.7392 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.5839, allocations: 322.4 kB / 0.7395 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.5839, allocations: 0 / 0.7395 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002161/0.586, allocations: 1.048 MB / 0.7405 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.5862, allocations: 287.5 kB / 0.7408 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.5862, allocations: 11.94 kB / 0.7408 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.5874, allocations: 327 kB / 0.7411 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.5879, allocations: 111.8 kB / 0.7412 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009567/0.5888, allocations: 1.005 MB / 0.7422 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008295/0.5897, allocations: 103.8 kB / 0.7423 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/0.5898, allocations: 24 kB / 0.7423 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.5898, allocations: 4 kB / 0.7423 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001354/0.5911, allocations: 0.7826 MB / 0.7431 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5912, allocations: 8 kB / 0.7431 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/0.5917, allocations: 231.2 kB / 0.7433 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.592, allocations: 103.9 kB / 0.7434 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003428/0.5955, allocations: 2.941 MB / 0.7463 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008278/0.5963, allocations: 91.81 kB / 0.7464 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.5964, allocations: 27.98 kB / 0.7464 GB, free: 5.727 MB / 0.5606 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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.0005582/0.597, allocations: 480.7 kB / 0.7469 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.5971, allocations: 106.7 kB / 0.747 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.5986, allocations: 0.7931 MB / 0.7478 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.5986, allocations: 4 kB / 0.7478 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.5986, allocations: 0 / 0.7478 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5986, allocations: 3.984 kB / 0.7478 GB, free: 4.328 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 postOpt removeSimpleEquations (simulation): time 0.002918/0.6015, allocations: 2.125 MB / 0.7498 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6015, allocations: 0 / 0.7498 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.6019, allocations: 84.09 kB / 0.7499 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003897/0.6023, allocations: 180.5 kB / 0.7501 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.6023, allocations: 15.98 kB / 0.7501 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000727/0.603, allocations: 0.8565 MB / 0.7509 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.603, allocations: 4.031 kB / 0.7509 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.6043, allocations: 0.8633 MB / 0.7518 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.6047, allocations: 231.7 kB / 0.752 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.6048, allocations: 15.98 kB / 0.752 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006493/0.6055, allocations: 75.77 kB / 0.7521 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.6056, allocations: 31.91 kB / 0.7521 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.6056, allocations: 16 kB / 0.7521 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001062/0.6067, allocations: 0.8288 MB / 0.753 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6067, allocations: 0 / 0.753 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001335/0.608, allocations: 0.5032 MB / 0.7534 GB, free: 14.28 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003934/0.6084, allocations: 195 kB / 0.7536 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001941/0.6104, allocations: 1.119 MB / 0.7547 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6104, allocations: 0 / 0.7547 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004494/0.6109, allocations: 249.2 kB / 0.755 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/0.6137, allocations: 0.6585 MB / 0.7556 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.6166, allocations: 2.117 MB / 0.7577 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000738/0.6174, allocations: 1.205 MB / 0.7588 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001032/0.6184, allocations: 364.4 kB / 0.7592 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.6186, allocations: 67.44 kB / 0.7593 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.6186, allocations: 0 / 0.7593 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of Templates: time 0.033/0.6516, allocations: 20.84 MB / 0.7796 GB, free: 3.645 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)