Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_dev_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.002071/0.002071, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.264/1.264, allocations: 133.6 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.698/2.698, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 103.8 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.061e-05/5.077e-05, allocations: 4 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.837/0.8371, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.116/8.954, allocations: 1.831 GB / 2.465 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/8.954, allocations: 89.58 kB / 2.465 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.45/14.4, allocations: 0.9582 GB / 3.424 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.298e-06/14.4, allocations: 0.8125 kB / 3.424 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000169/14.4, allocations: 30.27 kB / 3.424 GB, free: 196.2 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.003745/14.41, allocations: 1.145 MB / 3.425 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.709e-05/14.41, allocations: 9.031 kB / 3.425 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/14.41, allocations: 186.6 kB / 3.425 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/14.41, allocations: 1.078 MB / 3.426 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/14.41, allocations: 16.95 kB / 3.426 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/14.41, allocations: 37.31 kB / 3.426 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001455/14.42, allocations: 473.9 kB / 3.427 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/14.42, allocations: 0.676 MB / 3.427 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/14.42, allocations: 2.219 kB / 3.427 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/14.42, allocations: 2.781 kB / 3.427 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/14.42, allocations: 13.38 kB / 3.427 GB, free: 195.1 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.006275/14.42, allocations: 4.474 MB / 3.432 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009467/14.42, allocations: 443 kB / 3.432 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005115/14.43, allocations: 242.8 kB / 3.432 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004048/14.43, allocations: 196.8 kB / 3.432 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005074/14.43, allocations: 264.5 kB / 3.433 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.705e-06/14.43, allocations: 0 / 3.433 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001526/14.43, allocations: 492.4 kB / 3.433 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/14.43, allocations: 85 kB / 3.433 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/14.43, allocations: 0.8513 MB / 3.434 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.277e-05/14.43, allocations: 29.64 kB / 3.434 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004933/14.43, allocations: 490.5 kB / 3.435 GB, free: 191 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/14.43, allocations: 105.9 kB / 3.435 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/14.43, allocations: 3.5 kB / 3.435 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.531e-05/14.43, allocations: 319.5 kB / 3.435 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/14.43, allocations: 188.6 kB / 3.435 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/14.43, allocations: 495.9 kB / 3.436 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/14.43, allocations: 268.1 kB / 3.436 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/14.43, allocations: 3.875 kB / 3.436 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001258/14.43, allocations: 0.6052 MB / 3.436 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00052/14.43, allocations: 2.13 MB / 3.439 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/14.43, allocations: 11.48 kB / 3.439 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-05/14.43, allocations: 6.719 kB / 3.439 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/14.44, allocations: 300.1 kB / 3.439 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/14.44, allocations: 6.184 MB / 3.445 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/14.44, allocations: 83.02 kB / 3.445 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/14.44, allocations: 23.59 kB / 3.445 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/14.44, allocations: 5.812 kB / 3.445 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001268/14.44, allocations: 423.2 kB / 3.445 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/14.44, allocations: 5 kB / 3.445 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/14.44, allocations: 12.61 kB / 3.445 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/14.44, allocations: 151.4 kB / 3.446 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.784e-05/14.44, allocations: 12.22 kB / 3.446 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/14.44, allocations: 73.36 kB / 3.446 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.894e-05/14.44, allocations: 25.5 kB / 3.446 GB, free: 182.1 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.000271/14.45, allocations: 138.4 kB / 3.446 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001367/14.45, allocations: 406.7 kB / 3.446 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/14.45, allocations: 95.45 kB / 3.446 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/14.45, allocations: 450.9 kB / 3.447 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/14.45, allocations: 3.906 kB / 3.447 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/14.45, allocations: 2.75 kB / 3.447 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/14.45, allocations: 10.66 kB / 3.447 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/14.45, allocations: 1.253 MB / 3.448 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/14.45, allocations: 6.375 kB / 3.448 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009742/14.45, allocations: 139 kB / 3.448 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-05/14.45, allocations: 4.25 kB / 3.448 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/14.45, allocations: 8 kB / 3.448 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/14.45, allocations: 6.047 MB / 3.454 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/14.45, allocations: 5.156 kB / 3.454 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/14.46, allocations: 0.6287 MB / 3.455 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007722/14.46, allocations: 216.3 kB / 3.455 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003912/14.46, allocations: 3.469 kB / 3.455 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/14.46, allocations: 51.3 kB / 3.455 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/14.46, allocations: 31.45 kB / 3.455 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/14.46, allocations: 12.59 kB / 3.455 GB, free: 175 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001461/14.46, allocations: 0.6642 MB / 3.456 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/14.46, allocations: 0 / 3.456 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002927/14.46, allocations: 446.7 kB / 3.456 GB, free: 174.9 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.003643/14.47, allocations: 2.58 MB / 3.459 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0036/14.47, allocations: 0.9498 MB / 3.459 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/14.47, allocations: 0 / 3.459 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008807/14.47, allocations: 251.7 kB / 3.46 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/14.47, allocations: 394.1 kB / 3.46 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005524/14.48, allocations: 1.612 MB / 3.462 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009959/14.48, allocations: 1.198 MB / 3.463 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003339/14.48, allocations: 0.753 MB / 3.464 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000523/14.48, allocations: 293.6 kB / 3.464 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.482e-06/14.48, allocations: 0 / 3.464 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08907/14.57, allocations: 30.68 MB / 3.494 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/14.57, allocations: 170.2 kB / 3.494 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.122/19.7, allocations: 0 / 3.494 GB, free: 171.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)