Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 92.17 kB / 16.02 MB, free: 84 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.001318/0.001319, allocations: 184.7 kB / 16.92 MB, free: 6.934 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.317/1.317, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6633/0.6633, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002902, allocations: 8 kB / 496 MB, free: 6.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1284, allocations: 77.53 MB / 0.56 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4015/0.5299, allocations: 157.3 MB / 0.7136 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004262/0.5342, allocations: 3.584 MB / 0.7171 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.5345, allocations: 7.938 kB / 0.7171 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.535, allocations: 147.1 kB / 0.7173 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.5361, allocations: 0.4902 MB / 0.7178 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.5372, allocations: 396.9 kB / 0.7181 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003261/0.5404, allocations: 3.511 MB / 0.7216 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002646/0.5431, allocations: 2.215 MB / 0.7237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.5451, allocations: 0.9102 MB / 0.7246 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.5464, allocations: 0.7194 MB / 0.7253 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.5466, allocations: 35.94 kB / 0.7254 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.5481, allocations: 0.799 MB / 0.7261 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003293/0.5484, allocations: 274.9 kB / 0.7264 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000909/0.5494, allocations: 0.534 MB / 0.7269 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.5512, allocations: 1.378 MB / 0.7283 GB, free: 10.44 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5513, allocations: 0 / 0.7283 GB, free: 10.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5513, allocations: 3.938 kB / 0.7283 GB, free: 10.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.555e-05/0.5513, allocations: 4 kB / 0.7283 GB, free: 10.43 MB / 0.545 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.002165/0.5535, allocations: 1.3 MB / 0.7295 GB, free: 9.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.5535, allocations: 8.031 kB / 0.7296 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/0.5537, allocations: 94.52 kB / 0.7296 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007783/0.5545, allocations: 186.5 kB / 0.7298 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.5557, allocations: 0.8023 MB / 0.7306 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.5557, allocations: 49 kB / 0.7307 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.849e-05/0.5558, allocations: 67.97 kB / 0.7307 GB, free: 7.801 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.557, allocations: 0.8277 MB / 0.7315 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.557, allocations: 3.938 kB / 0.7315 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/0.5571, allocations: 24 kB / 0.7316 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.5571, allocations: 12 kB / 0.7316 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009016/0.558, allocations: 0.5773 MB / 0.7321 GB, free: 6.281 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.003556/0.5616, allocations: 4.259 MB / 0.7363 GB, free: 1.758 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006884/0.5623, allocations: 452 kB / 0.7367 GB, free: 1.309 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004597/0.5627, allocations: 342.1 kB / 0.737 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/0.563, allocations: 194.2 kB / 0.7372 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004783/0.5635, allocations: 327.1 kB / 0.7375 GB, free: 416 kB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001852/0.5637, allocations: 35.62 kB / 0.7376 GB, free: 380 kB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.5637, allocations: 0 / 0.7376 GB, free: 380 kB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.001324/0.565, allocations: 0.7196 MB / 0.7383 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.5651, allocations: 81.11 kB / 0.7384 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.5663, allocations: 1.151 MB / 0.7395 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.5663, allocations: 37.7 kB / 0.7395 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.5667, allocations: 492.4 kB / 0.74 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.734e-05/0.5668, allocations: 114.5 kB / 0.7401 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.5669, allocations: 41.7 kB / 0.7401 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.567, allocations: 330 kB / 0.7404 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.5674, allocations: 228.9 kB / 0.7407 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005886/0.568, allocations: 0.5579 MB / 0.7412 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008864/0.5689, allocations: 0.6837 MB / 0.7419 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5689, allocations: 0 / 0.7419 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00114/0.57, allocations: 0.7868 MB / 0.7426 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.5702, allocations: 270.8 kB / 0.7429 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5702, allocations: 4 kB / 0.7429 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.5702, allocations: 15.94 kB / 0.7429 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.5707, allocations: 115.9 kB / 0.743 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.5707, allocations: 19.91 kB / 0.7431 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/0.5715, allocations: 83.81 kB / 0.7431 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.5715, allocations: 24 kB / 0.7432 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.533e-06/0.5715, allocations: 4 kB / 0.7432 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008869/0.5724, allocations: 0.592 MB / 0.7437 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5724, allocations: 8.109 kB / 0.7437 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.5725, allocations: 11.94 kB / 0.7438 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.5729, allocations: 111.8 kB / 0.7439 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5729, allocations: 8 kB / 0.7439 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006898/0.5736, allocations: 84.06 kB / 0.744 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.5737, allocations: 24.05 kB / 0.744 GB, free: 9.438 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 (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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004141/0.5741, allocations: 472.6 kB / 0.7444 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.5742, allocations: 106.7 kB / 0.7445 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008989/0.5751, allocations: 0.5544 MB / 0.7451 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5751, allocations: 4 kB / 0.7451 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5751, allocations: 3.984 kB / 0.7451 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5751, allocations: 0 / 0.7451 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.577, allocations: 1.514 MB / 0.7466 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.577, allocations: 0 / 0.7466 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.5774, allocations: 76.05 kB / 0.7466 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5774, allocations: 4 kB / 0.7466 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.5774, allocations: 11.98 kB / 0.7466 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5774, allocations: 4 kB / 0.7466 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5774, allocations: 0 / 0.7466 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008108/0.5782, allocations: 0.6665 MB / 0.7473 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.5785, allocations: 235.7 kB / 0.7475 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.5786, allocations: 8 kB / 0.7475 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006038/0.5792, allocations: 55.92 kB / 0.7476 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/0.5793, allocations: 31.91 kB / 0.7476 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.5794, allocations: 8 kB / 0.7476 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009077/0.5803, allocations: 0.8199 MB / 0.7484 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5803, allocations: 4 kB / 0.7484 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009622/0.5813, allocations: 423.4 kB / 0.7488 GB, free: 4.305 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_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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/0.5826, allocations: 1.297 MB / 0.7501 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.5839, allocations: 0.9102 MB / 0.751 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5839, allocations: 1.375 kB / 0.751 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.5843, allocations: 243.4 kB / 0.7512 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/0.5875, allocations: 0.6366 MB / 0.7518 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.6002, allocations: 9.222 MB / 0.7608 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/0.6009, allocations: 1.174 MB / 0.762 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001042/0.602, allocations: 416.2 kB / 0.7624 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004067/0.6024, allocations: 343.3 kB / 0.7627 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.6024, allocations: 0 / 0.7627 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2291/0.8315, allocations: 27.97 MB / 0.79 GB, free: 10 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/0.8318, allocations: 273.2 kB / 0.7903 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.235, allocations: 3.234 kB / 0.7903 GB, free: 9.668 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)