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.0009273/0.0009273, allocations: 95.33 kB / 15.68 MB, free: 488 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.0009768/0.0009768, allocations: 175 kB / 16.56 MB, free: 6 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.299/1.299, allocations: 223.2 MB / 240.5 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.644/0.644, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.000295, allocations: 8.562 kB / 493 MB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 77.15 MB / 0.5568 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.3961/0.5398, allocations: 140.5 MB / 0.694 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003578/0.5434, allocations: 2.154 MB / 0.6961 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003954/0.5438, allocations: 7.938 kB / 0.6961 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007673/0.5446, allocations: 246.9 kB / 0.6964 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.5465, allocations: 0.7044 MB / 0.697 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.5477, allocations: 438.9 kB / 0.6975 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002236/0.55, allocations: 1.642 MB / 0.6991 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002934/0.5529, allocations: 2.316 MB / 0.7013 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.5546, allocations: 0.8527 MB / 0.7022 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.5556, allocations: 0.6031 MB / 0.7028 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.5559, allocations: 48 kB / 0.7028 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.5573, allocations: 0.6202 MB / 0.7034 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004168/0.5578, allocations: 307 kB / 0.7037 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000382/0.5582, allocations: 249.1 kB / 0.7039 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.5595, allocations: 1.166 MB / 0.7051 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.5595, allocations: 4 kB / 0.7051 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5595, allocations: 0 / 0.7051 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.5595, allocations: 0 / 0.7051 GB, free: 2.074 MB / 0.5137 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.002585/0.5621, allocations: 1.513 MB / 0.7066 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.5621, allocations: 12.03 kB / 0.7066 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007974/0.5629, allocations: 198.4 kB / 0.7068 GB, free: 304 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.5646, allocations: 0.8725 MB / 0.7076 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/0.5647, allocations: 49.31 kB / 0.7077 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.5649, allocations: 67.95 kB / 0.7077 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.5663, allocations: 0.987 MB / 0.7087 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.5663, allocations: 3.938 kB / 0.7087 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.681e-05/0.5664, allocations: 24 kB / 0.7087 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.5664, allocations: 16 kB / 0.7087 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.5678, allocations: 0.7999 MB / 0.7095 GB, free: 13.35 MB / 0.5294 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.004995/0.5728, allocations: 4.824 MB / 0.7142 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.5756, allocations: 4.029 MB / 0.7181 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.586e-05/0.5757, allocations: 24.25 kB / 0.7182 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005049/0.5762, allocations: 330.2 kB / 0.7185 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003054/0.5765, allocations: 31.69 kB / 0.7185 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 3.356e-06/0.5765, allocations: 0 / 0.7185 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.004571/0.5811, allocations: 1.593 MB / 0.7201 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.5812, allocations: 106.8 kB / 0.7202 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.5827, allocations: 1.184 MB / 0.7213 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.5827, allocations: 33.7 kB / 0.7214 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.5831, allocations: 0.5159 MB / 0.7219 GB, free: 15.42 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.5833, allocations: 126.3 kB / 0.722 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.5833, allocations: 4 kB / 0.722 GB, free: 15.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5834, allocations: 333.9 kB / 0.7223 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.5838, allocations: 205 kB / 0.7225 GB, free: 14.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005919/0.5844, allocations: 0.5366 MB / 0.723 GB, free: 14.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.5849, allocations: 313.4 kB / 0.7233 GB, free: 13.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.5849, allocations: 4 kB / 0.7233 GB, free: 13.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002172/0.5871, allocations: 1.041 MB / 0.7243 GB, free: 12.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008088/0.5879, allocations: 2.145 MB / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.5879, allocations: 11.95 kB / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.5891, allocations: 324.5 kB / 0.7268 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004496/0.5896, allocations: 107.9 kB / 0.7269 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.5907, allocations: 1.013 MB / 0.7279 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.5917, allocations: 95.81 kB / 0.7279 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.199e-05/0.5918, allocations: 27.98 kB / 0.728 GB, free: 8.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.5918, allocations: 8 kB / 0.728 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001431/0.5932, allocations: 0.7868 MB / 0.7287 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5932, allocations: 4 kB / 0.7288 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.5938, allocations: 232.5 kB / 0.729 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.5943, allocations: 108 kB / 0.7291 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/0.5979, allocations: 2.988 MB / 0.732 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.5989, allocations: 103.8 kB / 0.7321 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/0.599, allocations: 24 kB / 0.7321 GB, free: 4.426 MB / 0.545 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.0005773/0.5996, allocations: 486.7 kB / 0.7326 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.5998, allocations: 110.6 kB / 0.7327 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.6012, allocations: 0.7553 MB / 0.7334 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.6012, allocations: 8 kB / 0.7334 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.6012, allocations: 0 / 0.7334 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.6012, allocations: 3.984 kB / 0.7334 GB, free: 3.055 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 postOpt removeSimpleEquations (simulation): time 0.003117/0.6043, allocations: 2.202 MB / 0.7356 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6043, allocations: 0 / 0.7356 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003341/0.6047, allocations: 80.16 kB / 0.7357 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003998/0.6051, allocations: 184.5 kB / 0.7358 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.6051, allocations: 8 kB / 0.7358 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007631/0.6059, allocations: 0.8643 MB / 0.7367 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.6059, allocations: 8.031 kB / 0.7367 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.6073, allocations: 0.933 MB / 0.7376 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/0.6077, allocations: 231.7 kB / 0.7378 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.6079, allocations: 12 kB / 0.7378 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000764/0.6087, allocations: 79.75 kB / 0.7379 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/0.6088, allocations: 39.84 kB / 0.738 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.6088, allocations: 12 kB / 0.738 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00112/0.6099, allocations: 0.8288 MB / 0.7388 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.61, allocations: 0 / 0.7388 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00143/0.6114, allocations: 0.5031 MB / 0.7393 GB, free: 12.81 MB / 0.5606 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.0004166/0.6118, allocations: 199.7 kB / 0.7395 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002168/0.614, allocations: 1.122 MB / 0.7406 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.614, allocations: 0 / 0.7406 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.6145, allocations: 251.8 kB / 0.7408 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/0.6179, allocations: 0.6383 MB / 0.7414 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.6213, allocations: 2.108 MB / 0.7435 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008435/0.6221, allocations: 1.232 MB / 0.7447 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001129/0.6233, allocations: 360.4 kB / 0.745 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.6235, allocations: 71.44 kB / 0.7451 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/0.6235, allocations: 0 / 0.7451 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of Templates: time 0.03567/0.6591, allocations: 20.82 MB / 0.7654 GB, free: 2.18 MB / 0.5762 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)