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.0006903/0.0006903, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007455/0.0007455, allocations: 176.3 kB / 16.58 MB, free: 6.855 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.169/1.169, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.596/0.596, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002778/0.0002778, allocations: 8.781 kB / 493.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1204, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.34/0.4605, allocations: 146.7 MB / 0.7002 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003603/0.4642, allocations: 3.361 MB / 0.7035 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.4643, allocations: 11.88 kB / 0.7035 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.4647, allocations: 111.2 kB / 0.7036 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000802/0.4655, allocations: 394.1 kB / 0.704 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008121/0.4663, allocations: 378.3 kB / 0.7043 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002505/0.4689, allocations: 2.987 MB / 0.7072 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007465/0.4696, allocations: 0.6909 MB / 0.7079 GB, free: 256 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.4707, allocations: 0.8598 MB / 0.7088 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006518/0.4713, allocations: 0.7118 MB / 0.7095 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.037e-05/0.4714, allocations: 32 kB / 0.7095 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008628/0.4723, allocations: 0.5574 MB / 0.71 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.4725, allocations: 282.9 kB / 0.7103 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.4727, allocations: 233.1 kB / 0.7105 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008371/0.4736, allocations: 1.021 MB / 0.7115 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4736, allocations: 0 / 0.7115 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4736, allocations: 3.938 kB / 0.7115 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.4736, allocations: 0 / 0.7115 GB, free: 12.54 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001629/0.4752, allocations: 1.308 MB / 0.7128 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.4753, allocations: 12.03 kB / 0.7128 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.289e-05/0.4754, allocations: 94.52 kB / 0.7129 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006172/0.476, allocations: 186.5 kB / 0.7131 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.4771, allocations: 0.7924 MB / 0.7139 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.4771, allocations: 41 kB / 0.7139 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.122e-05/0.4772, allocations: 60 kB / 0.714 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009901/0.4782, allocations: 0.8041 MB / 0.7147 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4782, allocations: 4 kB / 0.7147 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.4783, allocations: 27.98 kB / 0.7148 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.4783, allocations: 16 kB / 0.7148 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007799/0.4791, allocations: 0.5344 MB / 0.7153 GB, free: 8.473 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.003163/0.4823, allocations: 4.614 MB / 0.7198 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006032/0.4829, allocations: 418.3 kB / 0.7202 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.4832, allocations: 257.8 kB / 0.7205 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.4834, allocations: 190.2 kB / 0.7206 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004287/0.4839, allocations: 317 kB / 0.7209 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.4839, allocations: 0 / 0.7209 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.003187/0.4871, allocations: 1.329 MB / 0.7222 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.4871, allocations: 81.11 kB / 0.7223 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.4882, allocations: 1.118 MB / 0.7234 GB, free: 15.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.4883, allocations: 37.7 kB / 0.7234 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.4886, allocations: 0.4883 MB / 0.7239 GB, free: 15.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/0.4887, allocations: 106.5 kB / 0.724 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.4887, allocations: 8 kB / 0.724 GB, free: 15.01 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.4888, allocations: 326.2 kB / 0.7243 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.4891, allocations: 188.7 kB / 0.7245 GB, free: 14.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004778/0.4896, allocations: 0.4979 MB / 0.725 GB, free: 13.87 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.49, allocations: 291.3 kB / 0.7253 GB, free: 13.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-06/0.49, allocations: 7.938 kB / 0.7253 GB, free: 13.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001806/0.4918, allocations: 0.9934 MB / 0.7263 GB, free: 12.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.492, allocations: 275.1 kB / 0.7265 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.492, allocations: 4.281 kB / 0.7265 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.4932, allocations: 336.4 kB / 0.7268 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.4934, allocations: 59.91 kB / 0.7269 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008247/0.4942, allocations: 1.019 MB / 0.7279 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/0.4948, allocations: 107.4 kB / 0.728 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.4948, allocations: 20 kB / 0.728 GB, free: 10.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-06/0.4948, allocations: 4 kB / 0.728 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00117/0.496, allocations: 0.7361 MB / 0.7287 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.496, allocations: 7.938 kB / 0.7288 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004493/0.4965, allocations: 216.8 kB / 0.729 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.4967, allocations: 63.84 kB / 0.729 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/0.4997, allocations: 3.113 MB / 0.7321 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005124/0.5002, allocations: 99.52 kB / 0.7322 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.5003, allocations: 24 kB / 0.7322 GB, free: 6.227 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_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 (34): * Single equations (assignments): 32 * 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.000405/0.5007, allocations: 468 kB / 0.7326 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.501e-05/0.5008, allocations: 102.7 kB / 0.7327 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.5019, allocations: 0.7181 MB / 0.7334 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5019, allocations: 4 kB / 0.7334 GB, free: 4.926 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.5019, allocations: 0 / 0.7334 GB, free: 4.926 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5019, allocations: 0 / 0.7334 GB, free: 4.926 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.5039, allocations: 1.624 MB / 0.735 GB, free: 3.223 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5039, allocations: 0 / 0.735 GB, free: 3.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.504, allocations: 27.98 kB / 0.735 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003978/0.5044, allocations: 220.6 kB / 0.7353 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.5045, allocations: 12 kB / 0.7353 GB, free: 2.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007484/0.5052, allocations: 0.98 MB / 0.7362 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.5052, allocations: 3.953 kB / 0.7362 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.5063, allocations: 0.8331 MB / 0.737 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.5065, allocations: 231.7 kB / 0.7373 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.301e-05/0.5066, allocations: 11.95 kB / 0.7373 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.507, allocations: 55.94 kB / 0.7373 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.5071, allocations: 31.91 kB / 0.7374 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.5071, allocations: 11.98 kB / 0.7374 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008343/0.508, allocations: 0.7878 MB / 0.7381 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.508, allocations: 0 / 0.7381 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001027/0.509, allocations: 455.4 kB / 0.7386 GB, free: 15.48 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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001376/0.5104, allocations: 1.365 MB / 0.7399 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001554/0.512, allocations: 1.063 MB / 0.7409 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.512, allocations: 0 / 0.7409 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004305/0.5124, allocations: 235.1 kB / 0.7412 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.5141, allocations: 468.8 kB / 0.7416 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.5243, allocations: 6.563 MB / 0.748 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/0.5249, allocations: 1.192 MB / 0.7492 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007582/0.5257, allocations: 319.6 kB / 0.7495 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/0.526, allocations: 307.3 kB / 0.7498 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.526, allocations: 0 / 0.7498 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04015/0.5662, allocations: 28 MB / 0.7771 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/0.5664, allocations: 278.9 kB / 0.7774 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.523, allocations: 0 / 0.7774 GB, free: 7.68 MB / 0.5919 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/linux/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) Environment - environmentSimulation: