Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SeriesDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.0008956/0.0008956, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009092/0.0009092, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7396/0.7396, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.0005038, allocations: 12.73 kB / 0.5035 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4121, allocations: 81.57 MB / 0.5832 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1505/0.5626, allocations: 146.7 MB / 0.7265 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004196/0.5669, allocations: 3.367 MB / 0.7297 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.5672, allocations: 7.938 kB / 0.7298 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.5676, allocations: 111.2 kB / 0.7299 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.5687, allocations: 390.1 kB / 0.7302 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.5697, allocations: 376.9 kB / 0.7306 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002845/0.5726, allocations: 2.995 MB / 0.7335 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.5736, allocations: 0.7068 MB / 0.7342 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.5751, allocations: 0.8675 MB / 0.7351 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.5761, allocations: 0.7079 MB / 0.7357 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.5763, allocations: 36 kB / 0.7358 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.5774, allocations: 0.5535 MB / 0.7363 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003114/0.5777, allocations: 278.9 kB / 0.7366 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.578, allocations: 233.1 kB / 0.7368 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.5791, allocations: 1.017 MB / 0.7378 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5791, allocations: 0 / 0.7378 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5791, allocations: 4 kB / 0.7378 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.589e-05/0.5792, allocations: 0 / 0.7378 GB, free: 1.789 MB / 0.5606 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.002012/0.5812, allocations: 1.303 MB / 0.7391 GB, free: 436 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.5812, allocations: 12.03 kB / 0.7391 GB, free: 424 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.5813, allocations: 94.52 kB / 0.7392 GB, free: 320 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007061/0.5821, allocations: 186.4 kB / 0.7394 GB, free: 132 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.5834, allocations: 0.8079 MB / 0.7401 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.5834, allocations: 45 kB / 0.7402 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.691e-05/0.5835, allocations: 56 kB / 0.7402 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.5847, allocations: 0.7927 MB / 0.741 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.5847, allocations: 3.938 kB / 0.741 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.981e-05/0.5847, allocations: 24 kB / 0.741 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.5848, allocations: 15.98 kB / 0.7411 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008774/0.5856, allocations: 0.5383 MB / 0.7416 GB, free: 13.72 MB / 0.5762 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.003789/0.5894, allocations: 4.603 MB / 0.7461 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.5901, allocations: 426.3 kB / 0.7465 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.5905, allocations: 252.7 kB / 0.7467 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/0.5908, allocations: 194.2 kB / 0.7469 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004849/0.5913, allocations: 312.9 kB / 0.7472 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.5913, allocations: 0 / 0.7472 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.004524/0.5958, allocations: 1.666 MB / 0.7488 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.5959, allocations: 81.11 kB / 0.7489 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.5971, allocations: 1.114 MB / 0.75 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.5972, allocations: 41.7 kB / 0.75 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.5976, allocations: 0.4923 MB / 0.7505 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.5977, allocations: 106.5 kB / 0.7506 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.5977, allocations: 8 kB / 0.7506 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.5978, allocations: 322 kB / 0.7509 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.5981, allocations: 188.7 kB / 0.7511 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.5987, allocations: 0.494 MB / 0.7516 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.5991, allocations: 295.1 kB / 0.7519 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5991, allocations: 0 / 0.7519 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001923/0.601, allocations: 0.979 MB / 0.7528 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001931/0.6012, allocations: 284 kB / 0.7531 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6013, allocations: 4 kB / 0.7531 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.6024, allocations: 363.7 kB / 0.7535 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.6027, allocations: 63.84 kB / 0.7535 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.6039, allocations: 1.095 MB / 0.7546 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.6046, allocations: 111.3 kB / 0.7547 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.6046, allocations: 24 kB / 0.7547 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.6046, allocations: 4 kB / 0.7547 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001264/0.6059, allocations: 0.7399 MB / 0.7554 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6059, allocations: 4 kB / 0.7555 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005046/0.6064, allocations: 230.5 kB / 0.7557 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.6066, allocations: 59.91 kB / 0.7557 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003296/0.6099, allocations: 3.036 MB / 0.7587 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.6106, allocations: 87.69 kB / 0.7588 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.6106, allocations: 31.98 kB / 0.7588 GB, free: 11.12 MB / 0.5919 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004604/0.6111, allocations: 465.8 kB / 0.7593 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.6112, allocations: 102.7 kB / 0.7593 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.6124, allocations: 0.7104 MB / 0.76 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6124, allocations: 8 kB / 0.7601 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6124, allocations: 4 kB / 0.7601 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.6125, allocations: 3.984 kB / 0.7601 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.6146, allocations: 1.615 MB / 0.7616 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6146, allocations: 0 / 0.7616 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.6148, allocations: 31.88 kB / 0.7617 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/0.6152, allocations: 242.9 kB / 0.7619 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.6153, allocations: 12 kB / 0.7619 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009373/0.6162, allocations: 1.035 MB / 0.7629 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.6162, allocations: 384 / 0.7629 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.6174, allocations: 0.8394 MB / 0.7637 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.6176, allocations: 219.8 kB / 0.7639 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.985e-05/0.6177, allocations: 15.94 kB / 0.764 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004598/0.6182, allocations: 59.73 kB / 0.764 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.6183, allocations: 31.95 kB / 0.7641 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.6183, allocations: 12 kB / 0.7641 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008903/0.6192, allocations: 0.7877 MB / 0.7648 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6192, allocations: 4 kB / 0.7648 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00115/0.6204, allocations: 443.4 kB / 0.7653 GB, free: 4.32 MB / 0.5919 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001465/0.6219, allocations: 1.374 MB / 0.7666 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002248/0.6241, allocations: 1.202 MB / 0.7678 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6241, allocations: 0 / 0.7678 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005652/0.6247, allocations: 291.7 kB / 0.7681 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.6265, allocations: 462.7 kB / 0.7685 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.6373, allocations: 6.582 MB / 0.7749 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.638, allocations: 1.188 MB / 0.7761 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009266/0.639, allocations: 311.6 kB / 0.7764 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.6393, allocations: 315.3 kB / 0.7767 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.6393, allocations: 0 / 0.7767 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0433/0.6826, allocations: 27.57 MB / 0.8036 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.6828, allocations: 254.1 kB / 0.8038 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.217/2.9, allocations: 0 / 0.8038 GB, free: 12.78 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) Environment - environmentSimulation: