Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7359/0.7359, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.3 MB / 400.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 96 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.176e-05/4.179e-05, allocations: 2.625 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1757, allocations: 82.31 MB / 0.6405 GB, free: 7.703 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.669/4.845, allocations: 1.832 GB / 2.473 GB, free: 98.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/4.845, allocations: 83.95 kB / 2.473 GB, free: 97.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.914/8.759, allocations: 0.9684 GB / 3.441 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.573e-06/8.759, allocations: 2.531 kB / 3.441 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001642/8.759, allocations: 26.72 kB / 3.441 GB, free: 175.1 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002874/8.762, allocations: 1.152 MB / 3.442 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/8.762, allocations: 6.531 kB / 3.442 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002362/8.762, allocations: 104.1 kB / 3.442 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/8.763, allocations: 182.2 kB / 3.442 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/8.766, allocations: 1.075 MB / 3.444 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/8.766, allocations: 46.25 kB / 3.444 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/8.767, allocations: 61.31 kB / 3.444 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/8.768, allocations: 0.733 MB / 3.444 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/8.768, allocations: 11.05 kB / 3.444 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/8.768, allocations: 19.59 kB / 3.444 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/8.768, allocations: 19.59 kB / 3.444 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007153/8.769, allocations: 484.5 kB / 3.445 GB, free: 172.7 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004753/8.773, allocations: 4.599 MB / 3.449 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/8.774, allocations: 377 kB / 3.45 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/8.774, allocations: 220.1 kB / 3.45 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/8.775, allocations: 195.5 kB / 3.45 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000376/8.775, allocations: 266.3 kB / 3.45 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 3.527e-06/8.775, allocations: 0 / 3.45 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001051/8.776, allocations: 466 kB / 3.451 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/8.776, allocations: 81.11 kB / 3.451 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/8.778, allocations: 0.9724 MB / 3.452 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.213e-05/8.778, allocations: 37.7 kB / 3.452 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/8.778, allocations: 491.4 kB / 3.452 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/8.778, allocations: 108.8 kB / 3.452 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/8.778, allocations: 12 kB / 3.452 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/8.778, allocations: 318.2 kB / 3.453 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/8.778, allocations: 168.8 kB / 3.453 GB, free: 165 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/8.779, allocations: 497.6 kB / 3.453 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/8.779, allocations: 279.2 kB / 3.454 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/8.779, allocations: 0 / 3.454 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009977/8.78, allocations: 0.6484 MB / 3.454 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005253/8.781, allocations: 2.132 MB / 3.456 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/8.781, allocations: 8 kB / 3.456 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/8.781, allocations: 8 kB / 3.456 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/8.782, allocations: 294.6 kB / 3.457 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/8.785, allocations: 6.087 MB / 3.463 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/8.786, allocations: 103.5 kB / 3.463 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/8.786, allocations: 27.98 kB / 3.463 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/8.786, allocations: 4.781 kB / 3.463 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006946/8.787, allocations: 0.4894 MB / 3.463 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/8.787, allocations: 4 kB / 3.463 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/8.787, allocations: 8 kB / 3.463 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/8.787, allocations: 144.2 kB / 3.463 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/8.787, allocations: 15.92 kB / 3.463 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/8.788, allocations: 95.47 kB / 3.463 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/8.789, allocations: 24 kB / 3.463 GB, free: 153.6 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000196/8.789, allocations: 144.7 kB / 3.464 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/8.789, allocations: 98.78 kB / 3.464 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000878/8.79, allocations: 463 kB / 3.464 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/8.79, allocations: 15.88 kB / 3.464 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/8.79, allocations: 4 kB / 3.464 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/8.79, allocations: 0 / 3.464 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/8.792, allocations: 1.354 MB / 3.466 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/8.792, allocations: 8 kB / 3.466 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006365/8.793, allocations: 155 kB / 3.466 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/8.793, allocations: 4 kB / 3.466 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/8.793, allocations: 8 kB / 3.466 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/8.795, allocations: 6.021 MB / 3.472 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/8.795, allocations: 4.219 kB / 3.472 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/8.796, allocations: 0.6672 MB / 3.472 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005558/8.796, allocations: 215.8 kB / 3.472 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/8.797, allocations: 11.98 kB / 3.472 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/8.797, allocations: 51.86 kB / 3.472 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/8.797, allocations: 43.84 kB / 3.473 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/8.797, allocations: 12 kB / 3.473 GB, free: 144 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001076/8.799, allocations: 0.7688 MB / 3.473 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.4e-07/8.799, allocations: 0 / 3.473 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001808/8.8, allocations: 483.6 kB / 3.474 GB, free: 142.7 MB / 0.6823 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00234/8.803, allocations: 2.486 MB / 3.476 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002454/8.805, allocations: 0.9419 MB / 3.477 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/8.805, allocations: 0 / 3.477 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006663/8.806, allocations: 261.2 kB / 3.477 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/8.808, allocations: 460.7 kB / 3.478 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/8.812, allocations: 1.664 MB / 3.479 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/8.812, allocations: 1.202 MB / 3.481 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002117/8.815, allocations: 0.788 MB / 3.481 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/8.815, allocations: 299.3 kB / 3.482 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.633e-06/8.815, allocations: 0 / 3.482 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06727/8.882, allocations: 43.82 MB / 3.524 GB, free: 91.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/8.882, allocations: 221 kB / 3.525 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.4/12.28, allocations: 0 / 3.525 GB, free: 90.82 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)