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.001554/0.001554, allocations: 99.86 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.002028/0.002028, 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.091/2.091, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.077/1.077, allocations: 132.2 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005049, allocations: 8 kB / 0.5033 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7824/0.783, allocations: 81.57 MB / 0.583 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.2881/1.071, allocations: 135.7 MB / 0.7155 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008701/1.08, allocations: 3.113 MB / 0.7185 GB, free: 5.309 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006849/1.081, allocations: 11.94 kB / 0.7185 GB, free: 5.297 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/1.082, allocations: 183.1 kB / 0.7187 GB, free: 5.117 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002955/1.085, allocations: 0.4986 MB / 0.7192 GB, free: 4.617 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/1.088, allocations: 456 kB / 0.7196 GB, free: 4.184 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003777/1.091, allocations: 1.505 MB / 0.7211 GB, free: 2.672 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/1.093, allocations: 0.7069 MB / 0.7218 GB, free: 1.953 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/1.096, allocations: 0.7007 MB / 0.7225 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/1.098, allocations: 493.8 kB / 0.723 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003856/1.098, allocations: 32 kB / 0.723 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/1.101, allocations: 419.3 kB / 0.7234 GB, free: 332 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008424/1.102, allocations: 259.1 kB / 0.7236 GB, free: 72 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/1.103, allocations: 233.2 kB / 0.7239 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002514/1.105, allocations: 0.9703 MB / 0.7248 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.105, allocations: 0 / 0.7248 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.38e-06/1.105, allocations: 3.938 kB / 0.7248 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.654e-05/1.106, allocations: 0 / 0.7248 GB, free: 14.86 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.005148/1.111, allocations: 1.288 MB / 0.7261 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 8.502e-05/1.111, allocations: 12.03 kB / 0.7261 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003661/1.111, allocations: 94.52 kB / 0.7262 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/1.113, allocations: 190.4 kB / 0.7263 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004013/1.117, allocations: 0.804 MB / 0.7271 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/1.117, allocations: 41 kB / 0.7272 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000329/1.118, allocations: 60 kB / 0.7272 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/1.12, allocations: 0.7849 MB / 0.728 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/1.12, allocations: 3.938 kB / 0.728 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/1.12, allocations: 24 kB / 0.728 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/1.12, allocations: 15.98 kB / 0.728 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/1.122, allocations: 0.5461 MB / 0.7286 GB, free: 10.81 MB / 0.5606 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.008199/1.131, allocations: 4.595 MB / 0.7331 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/1.132, allocations: 434.3 kB / 0.7335 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/1.132, allocations: 15.97 kB / 0.7335 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009108/1.133, allocations: 313.6 kB / 0.7338 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 4.568e-06/1.133, allocations: 0 / 0.7338 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.009248/1.142, allocations: 1.648 MB / 0.7354 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.73e-05/1.142, allocations: 106.8 kB / 0.7355 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00314/1.146, allocations: 1.118 MB / 0.7366 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/1.146, allocations: 33.7 kB / 0.7366 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008084/1.147, allocations: 492.2 kB / 0.7371 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/1.147, allocations: 114.5 kB / 0.7372 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/1.147, allocations: 8 kB / 0.7372 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001696/1.147, allocations: 322 kB / 0.7375 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/1.148, allocations: 188.7 kB / 0.7377 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/1.149, allocations: 0.4979 MB / 0.7382 GB, free: 328 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008425/1.15, allocations: 294.4 kB / 0.7385 GB, free: 28 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/1.15, allocations: 4.219 kB / 0.7385 GB, free: 24 kB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.004172/1.154, allocations: 0.9769 MB / 0.7394 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.00131/1.155, allocations: 2.125 MB / 0.7415 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/1.155, allocations: 4 kB / 0.7415 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002213/1.158, allocations: 370.1 kB / 0.7419 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/1.158, allocations: 67.89 kB / 0.7419 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/1.161, allocations: 1.089 MB / 0.743 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/1.163, allocations: 107.3 kB / 0.7431 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/1.163, allocations: 28.17 kB / 0.7431 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.163, allocations: 4 kB / 0.7431 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002563/1.165, allocations: 0.7447 MB / 0.7438 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/1.165, allocations: 15.98 kB / 0.7439 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/1.166, allocations: 216.9 kB / 0.7441 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/1.167, allocations: 67.84 kB / 0.7441 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006712/1.174, allocations: 3.097 MB / 0.7472 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/1.175, allocations: 95.67 kB / 0.7472 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/1.176, allocations: 24 kB / 0.7473 GB, free: 6.652 MB / 0.5762 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.001194/1.177, allocations: 469.2 kB / 0.7477 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/1.177, allocations: 102.7 kB / 0.7478 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/1.18, allocations: 0.6903 MB / 0.7485 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/1.18, allocations: 8 kB / 0.7485 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.18, allocations: 4 kB / 0.7485 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/1.18, allocations: 3.984 kB / 0.7485 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003546/1.183, allocations: 1.099 MB / 0.7496 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.183, allocations: 3.938 kB / 0.7496 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/1.184, allocations: 23.98 kB / 0.7496 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009957/1.185, allocations: 251.3 kB / 0.7498 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/1.185, allocations: 8.219 kB / 0.7498 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/1.187, allocations: 1.028 MB / 0.7509 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.187, allocations: 0 / 0.7509 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/1.189, allocations: 0.8461 MB / 0.7517 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008855/1.19, allocations: 223.8 kB / 0.7519 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004042/1.191, allocations: 15.89 kB / 0.7519 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/1.192, allocations: 63.78 kB / 0.752 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/1.192, allocations: 31.95 kB / 0.752 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/1.192, allocations: 8 kB / 0.752 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002267/1.194, allocations: 0.7877 MB / 0.7528 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.21e-07/1.194, allocations: 0 / 0.7528 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002977/1.197, allocations: 451.4 kB / 0.7532 GB, free: 336 kB / 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003468/1.201, allocations: 1.873 MB / 0.755 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004711/1.206, allocations: 1.198 MB / 0.7562 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.206, allocations: 0 / 0.7562 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/1.207, allocations: 283.5 kB / 0.7565 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0042/1.211, allocations: 457.3 kB / 0.7569 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0261/1.237, allocations: 9.915 MB / 0.7666 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/1.238, allocations: 1.204 MB / 0.7678 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002056/1.241, allocations: 311.6 kB / 0.7681 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006871/1.241, allocations: 311.3 kB / 0.7684 GB, free: 360 kB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/1.241, allocations: 0 / 0.7684 GB, free: 360 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08182/1.323, allocations: 27.55 MB / 0.7953 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003296/1.323, allocations: 246.5 kB / 0.7955 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.671/4.995, allocations: 0 / 0.7955 GB, free: 4.926 MB / 0.6231 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: