Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_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.001664/0.001664, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004336/0.004336, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.624/2.624, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.796/1.796, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000575/0.0005751, allocations: 8 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3116, allocations: 82.31 MB / 0.5873 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.9953/1.307, allocations: 135.7 MB / 0.7198 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008153/1.315, allocations: 3.118 MB / 0.7228 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006472/1.316, allocations: 8.75 kB / 0.7228 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/1.317, allocations: 181.1 kB / 0.723 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002571/1.319, allocations: 0.4998 MB / 0.7235 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002319/1.322, allocations: 446.5 kB / 0.7239 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004952/1.327, allocations: 1.502 MB / 0.7254 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/1.329, allocations: 0.7072 MB / 0.7261 GB, free: 8.117 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/1.331, allocations: 0.7018 MB / 0.7268 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/1.332, allocations: 497.9 kB / 0.7272 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/1.332, allocations: 34 kB / 0.7273 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/1.334, allocations: 414 kB / 0.7277 GB, free: 7.457 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005279/1.335, allocations: 256.1 kB / 0.7279 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005606/1.335, allocations: 232 kB / 0.7281 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002111/1.337, allocations: 0.9676 MB / 0.7291 GB, free: 7.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/1.337, allocations: 0 / 0.7291 GB, free: 7.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.106e-06/1.337, allocations: 0 / 0.7291 GB, free: 7.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.161e-05/1.337, allocations: 1.188 kB / 0.7291 GB, free: 7.02 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.004183/1.342, allocations: 1.293 MB / 0.7303 GB, free: 6.137 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/1.342, allocations: 14.06 kB / 0.7304 GB, free: 6.133 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002506/1.342, allocations: 95.66 kB / 0.7305 GB, free: 6.062 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/1.344, allocations: 185.2 kB / 0.7306 GB, free: 5.992 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003104/1.347, allocations: 0.7989 MB / 0.7314 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/1.347, allocations: 41.11 kB / 0.7315 GB, free: 5.523 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/1.347, allocations: 64.19 kB / 0.7315 GB, free: 5.504 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/1.349, allocations: 0.7863 MB / 0.7323 GB, free: 5.094 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/1.349, allocations: 6.406 kB / 0.7323 GB, free: 5.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.958e-05/1.349, allocations: 20.69 kB / 0.7323 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/1.349, allocations: 16.16 kB / 0.7323 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/1.351, allocations: 0.5382 MB / 0.7328 GB, free: 4.918 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.009255/1.36, allocations: 4.594 MB / 0.7373 GB, free: 1.031 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/1.362, allocations: 451.2 kB / 0.7378 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.108e-05/1.362, allocations: 14.95 kB / 0.7378 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008237/1.363, allocations: 305.2 kB / 0.7381 GB, free: 0.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.896e-06/1.363, allocations: 2.281 kB / 0.7381 GB, free: 0.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.00674/1.369, allocations: 1.336 MB / 0.7394 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/1.369, allocations: 109.3 kB / 0.7395 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/1.372, allocations: 1.122 MB / 0.7406 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001765/1.373, allocations: 41.7 kB / 0.7406 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/1.373, allocations: 488.8 kB / 0.7411 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/1.374, allocations: 112.1 kB / 0.7412 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/1.374, allocations: 12 kB / 0.7412 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.374, allocations: 321.8 kB / 0.7415 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000601/1.374, allocations: 185.9 kB / 0.7417 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009888/1.375, allocations: 0.5009 MB / 0.7422 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/1.376, allocations: 291.5 kB / 0.7425 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/1.376, allocations: 0 / 0.7425 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003888/1.38, allocations: 0.9801 MB / 0.7434 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.001543/1.382, allocations: 2.126 MB / 0.7455 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.382, allocations: 4 kB / 0.7455 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/1.384, allocations: 350.8 kB / 0.7458 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/1.384, allocations: 59.91 kB / 0.7459 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/1.386, allocations: 1.009 MB / 0.7469 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/1.388, allocations: 111.4 kB / 0.747 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-05/1.388, allocations: 20 kB / 0.747 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.388, allocations: 4 kB / 0.747 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002374/1.39, allocations: 0.7399 MB / 0.7477 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.391, allocations: 4 kB / 0.7477 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008951/1.391, allocations: 222.4 kB / 0.7479 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/1.392, allocations: 63.84 kB / 0.748 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007071/1.399, allocations: 3.176 MB / 0.7511 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/1.401, allocations: 99.52 kB / 0.7512 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/1.401, allocations: 24 kB / 0.7512 GB, free: 3.484 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_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.001391/1.402, allocations: 475.3 kB / 0.7517 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/1.403, allocations: 98.97 kB / 0.7518 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/1.405, allocations: 0.6924 MB / 0.7524 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/1.405, allocations: 7.984 kB / 0.7524 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/1.405, allocations: 3.938 kB / 0.7524 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/1.405, allocations: 3.984 kB / 0.7525 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/1.417, allocations: 1.099 MB / 0.7535 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/1.417, allocations: 8.219 kB / 0.7535 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/1.417, allocations: 19.98 kB / 0.7536 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/1.419, allocations: 220.6 kB / 0.7538 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/1.419, allocations: 11.94 kB / 0.7538 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/1.42, allocations: 0.9831 MB / 0.7547 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/1.42, allocations: 12.02 kB / 0.7547 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006866/1.427, allocations: 0.8479 MB / 0.7556 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.429, allocations: 219.8 kB / 0.7558 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/1.429, allocations: 8 kB / 0.7558 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000932/1.43, allocations: 63.78 kB / 0.7559 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/1.43, allocations: 27.97 kB / 0.7559 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-05/1.43, allocations: 15.98 kB / 0.7559 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002365/1.432, allocations: 0.7877 MB / 0.7567 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.91e-07/1.432, allocations: 0 / 0.7567 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002926/1.435, allocations: 451.4 kB / 0.7571 GB, free: 13.22 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 (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.00353/1.439, allocations: 1.865 MB / 0.7589 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003782/1.443, allocations: 1.065 MB / 0.76 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/1.443, allocations: 0 / 0.76 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009779/1.444, allocations: 237.2 kB / 0.7602 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00445/1.448, allocations: 456 kB / 0.7606 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/1.478, allocations: 9.87 MB / 0.7703 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/1.48, allocations: 1.204 MB / 0.7714 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00188/1.482, allocations: 319.6 kB / 0.7717 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/1.482, allocations: 307.3 kB / 0.772 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of SimCode: time 1.743e-06/1.482, allocations: 0 / 0.772 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1607/1.643, allocations: 27.97 MB / 0.7993 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007052/1.644, allocations: 265.8 kB / 0.7996 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.488/6.132, allocations: 7.938 kB / 0.7996 GB, free: 1.57 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) Environment - environmentSimulation: