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.008858/0.008858, allocations: 170.3 kB / 15.11 MB, free: 6.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7819/0.7819, allocations: 135.2 MB / 151 MB, free: 13.85 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.564/1.564, allocations: 223.1 MB / 406.8 MB, free: 3.254 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.001016/0.001016, allocations: 92.88 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004265, allocations: 12 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.4794, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.438/4.918, allocations: 1.832 GB / 2.482 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/4.918, allocations: 87.95 kB / 2.482 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.208/8.126, allocations: 0.9691 GB / 3.451 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/8.126, allocations: 0 / 3.451 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.182e-05/8.126, allocations: 34.64 kB / 3.451 GB, free: 183.9 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.002949/8.129, allocations: 1.426 MB / 3.452 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/8.129, allocations: 10.75 kB / 3.452 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/8.129, allocations: 92.81 kB / 3.452 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007844/8.13, allocations: 184.5 kB / 3.453 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/8.133, allocations: 1.091 MB / 3.454 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/8.133, allocations: 46.66 kB / 3.454 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.199e-05/8.133, allocations: 60.81 kB / 3.454 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/8.134, allocations: 0.7637 MB / 3.454 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/8.134, allocations: 3.469 kB / 3.454 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/8.134, allocations: 27.19 kB / 3.455 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/8.134, allocations: 19.36 kB / 3.455 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000838/8.135, allocations: 0.5156 MB / 3.455 GB, free: 182.6 MB / 0.6823 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.004236/8.139, allocations: 4.601 MB / 3.46 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/8.14, allocations: 415.6 kB / 3.46 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/8.14, allocations: 204.5 kB / 3.46 GB, free: 179 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004577/8.141, allocations: 300 kB / 3.46 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.923e-06/8.141, allocations: 0 / 3.46 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001378/8.142, allocations: 0.6445 MB / 3.461 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/8.142, allocations: 80.77 kB / 3.461 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/8.143, allocations: 0.9826 MB / 3.462 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/8.143, allocations: 43.8 kB / 3.462 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/8.144, allocations: 490.6 kB / 3.463 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.263e-05/8.144, allocations: 105.2 kB / 3.463 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/8.144, allocations: 10.81 kB / 3.463 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/8.144, allocations: 326.4 kB / 3.463 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/8.144, allocations: 185.2 kB / 3.463 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/8.145, allocations: 0.5125 MB / 3.464 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/8.145, allocations: 287.9 kB / 3.464 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/8.145, allocations: 6.938 kB / 3.464 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001054/8.146, allocations: 0.6797 MB / 3.465 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006204/8.147, allocations: 2.135 MB / 3.467 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/8.147, allocations: 6.844 kB / 3.467 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/8.147, allocations: 8.375 kB / 3.467 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/8.149, allocations: 291.7 kB / 3.467 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/8.151, allocations: 6.084 MB / 3.473 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/8.152, allocations: 106.6 kB / 3.473 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/8.152, allocations: 26.09 kB / 3.473 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/8.152, allocations: 3.969 kB / 3.473 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008145/8.153, allocations: 0.5441 MB / 3.474 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/8.153, allocations: 3.844 kB / 3.474 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/8.153, allocations: 10.47 kB / 3.474 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/8.154, allocations: 145.7 kB / 3.474 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/8.154, allocations: 9.594 kB / 3.474 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007215/8.154, allocations: 98.36 kB / 3.474 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/8.155, allocations: 22.97 kB / 3.474 GB, free: 169.4 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 () * Number of clocked 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.0006092/8.155, allocations: 483.4 kB / 3.474 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/8.155, allocations: 97.5 kB / 3.474 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007891/8.156, allocations: 0.4977 MB / 3.475 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/8.156, allocations: 7.906 kB / 3.475 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/8.156, allocations: 0 / 3.475 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/8.156, allocations: 3.219 kB / 3.475 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/8.158, allocations: 1.388 MB / 3.476 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/8.158, allocations: 3.469 kB / 3.476 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005558/8.159, allocations: 160.8 kB / 3.476 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/8.159, allocations: 2.906 kB / 3.476 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/8.159, allocations: 8.781 kB / 3.476 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/8.16, allocations: 6.016 MB / 3.482 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/8.16, allocations: 7.375 kB / 3.482 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000827/8.161, allocations: 0.6954 MB / 3.483 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004079/8.162, allocations: 219.9 kB / 3.483 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.966e-05/8.162, allocations: 10.12 kB / 3.483 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/8.162, allocations: 60.38 kB / 3.483 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/8.162, allocations: 31.89 kB / 3.483 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/8.162, allocations: 11.75 kB / 3.483 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009193/8.163, allocations: 0.7823 MB / 3.484 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/8.163, allocations: 0 / 3.484 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001455/8.165, allocations: 481.6 kB / 3.485 GB, free: 162.2 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) * Number of clocked states: 0 () * 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.002343/8.167, allocations: 2.532 MB / 3.487 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002411/8.17, allocations: 0.9761 MB / 3.488 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/8.17, allocations: 0 / 3.488 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006404/8.17, allocations: 277.5 kB / 3.488 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/8.172, allocations: 454.2 kB / 3.489 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/8.183, allocations: 9.624 MB / 3.498 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006685/8.183, allocations: 1.207 MB / 3.499 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001219/8.185, allocations: 371.3 kB / 3.5 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/8.185, allocations: 316.7 kB / 3.5 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/8.185, allocations: 0 / 3.5 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05828/8.243, allocations: 40.12 MB / 3.539 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/8.244, allocations: 251.7 kB / 3.539 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.384/11.63, allocations: 4 kB / 3.539 GB, free: 117.8 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)