Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.SeriesDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.0009914/0.0009915, allocations: 93.19 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.001216/0.001216, allocations: 180.4 kB / 16.92 MB, free: 6.684 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.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6913/0.6913, allocations: 115.5 MB / 407.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 16 kB / 496 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1317, allocations: 77.53 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4264/0.5581, allocations: 157.3 MB / 0.7136 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004711/0.5629, allocations: 3.593 MB / 0.7171 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/0.5633, allocations: 7.938 kB / 0.7171 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.5638, allocations: 139.2 kB / 0.7173 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.5653, allocations: 0.4912 MB / 0.7178 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.5665, allocations: 397.3 kB / 0.7181 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003199/0.5697, allocations: 3.482 MB / 0.7215 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.5708, allocations: 0.7624 MB / 0.7223 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.5725, allocations: 0.9104 MB / 0.7232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.5735, allocations: 0.7116 MB / 0.7239 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.5737, allocations: 32 kB / 0.7239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.5751, allocations: 0.7988 MB / 0.7247 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.5753, allocations: 274.9 kB / 0.7249 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.5759, allocations: 0.5417 MB / 0.7255 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.5771, allocations: 1.366 MB / 0.7268 GB, free: 11.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5771, allocations: 4 kB / 0.7268 GB, free: 11.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5771, allocations: 0 / 0.7268 GB, free: 11.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.5771, allocations: 0 / 0.7268 GB, free: 11.89 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.00171/0.5788, allocations: 1.261 MB / 0.728 GB, free: 10.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5789, allocations: 8.031 kB / 0.728 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.582e-05/0.579, allocations: 94.52 kB / 0.7281 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006488/0.5796, allocations: 190.5 kB / 0.7283 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009756/0.5806, allocations: 0.8023 MB / 0.7291 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.5806, allocations: 45 kB / 0.7291 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.411e-05/0.5807, allocations: 63.94 kB / 0.7292 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.5818, allocations: 0.8003 MB / 0.73 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.5818, allocations: 0 / 0.73 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.5818, allocations: 24 kB / 0.73 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.5819, allocations: 15.94 kB / 0.73 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008197/0.5827, allocations: 0.5462 MB / 0.7306 GB, free: 7.84 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.003276/0.586, allocations: 4.599 MB / 0.735 GB, free: 2.855 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.5866, allocations: 434.3 kB / 0.7355 GB, free: 2.422 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.587, allocations: 246.7 kB / 0.7357 GB, free: 2.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/0.5872, allocations: 194.2 kB / 0.7359 GB, free: 1.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004326/0.5877, allocations: 301 kB / 0.7362 GB, free: 1.641 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.392e-06/0.5877, allocations: 0 / 0.7362 GB, free: 1.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.003508/0.5912, allocations: 1.345 MB / 0.7375 GB, free: 276 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.5913, allocations: 85.05 kB / 0.7376 GB, free: 172 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.5924, allocations: 1.118 MB / 0.7387 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.5924, allocations: 37.69 kB / 0.7387 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00034/0.5928, allocations: 492.1 kB / 0.7392 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/0.5929, allocations: 110.4 kB / 0.7393 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.5929, allocations: 45.62 kB / 0.7393 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.593, allocations: 330 kB / 0.7396 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.5934, allocations: 212.7 kB / 0.7398 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/0.5939, allocations: 0.5181 MB / 0.7403 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007819/0.5947, allocations: 0.6479 MB / 0.741 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5947, allocations: 0 / 0.741 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002016/0.5968, allocations: 1.057 MB / 0.742 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.5969, allocations: 274.5 kB / 0.7423 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5969, allocations: 8 kB / 0.7423 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.5982, allocations: 366.6 kB / 0.7426 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.5984, allocations: 59.91 kB / 0.7427 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008294/0.5992, allocations: 1.009 MB / 0.7437 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005884/0.5998, allocations: 99.47 kB / 0.7438 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.5999, allocations: 31.98 kB / 0.7438 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.5999, allocations: 4 kB / 0.7438 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001221/0.6011, allocations: 0.72 MB / 0.7445 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6012, allocations: 4 kB / 0.7445 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/0.6017, allocations: 213.2 kB / 0.7447 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.6019, allocations: 63.91 kB / 0.7448 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.605, allocations: 3.087 MB / 0.7478 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/0.6056, allocations: 87.69 kB / 0.7479 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.6056, allocations: 23.94 kB / 0.7479 GB, free: 5.047 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0004044/0.606, allocations: 468.8 kB / 0.7483 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-05/0.6061, allocations: 106.7 kB / 0.7484 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.6073, allocations: 0.7141 MB / 0.7491 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6073, allocations: 4.188 kB / 0.7491 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.6073, allocations: 4 kB / 0.7491 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.6073, allocations: 7.969 kB / 0.7491 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.6098, allocations: 1.621 MB / 0.7507 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6098, allocations: 0 / 0.7507 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.6099, allocations: 27.98 kB / 0.7508 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000461/0.6104, allocations: 228.6 kB / 0.751 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.6104, allocations: 12.22 kB / 0.751 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008813/0.6113, allocations: 0.9833 MB / 0.7519 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.6113, allocations: 3.938 kB / 0.7519 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.6124, allocations: 0.833 MB / 0.7528 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/0.6127, allocations: 219.8 kB / 0.753 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.511e-05/0.6128, allocations: 12 kB / 0.753 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.6133, allocations: 47.8 kB / 0.753 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.6134, allocations: 43.83 kB / 0.7531 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.6134, allocations: 12 kB / 0.7531 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009049/0.6143, allocations: 0.7916 MB / 0.7539 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6144, allocations: 0 / 0.7539 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001219/0.6156, allocations: 431.5 kB / 0.7543 GB, free: 14.31 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001659/0.6172, allocations: 1.368 MB / 0.7556 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001853/0.6191, allocations: 1.087 MB / 0.7567 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6191, allocations: 4 kB / 0.7567 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.6196, allocations: 235.1 kB / 0.7569 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/0.6219, allocations: 462 kB / 0.7573 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.6364, allocations: 9.475 MB / 0.7666 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.6371, allocations: 1.181 MB / 0.7677 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008967/0.638, allocations: 307.9 kB / 0.768 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/0.6383, allocations: 307.3 kB / 0.7683 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.6383, allocations: 0 / 0.7683 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6962/1.335, allocations: 27.43 MB / 0.7951 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/1.335, allocations: 311.3 kB / 0.7954 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.739, allocations: 0 / 0.7954 GB, free: 3.992 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)