Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.041/1.041, allocations: 143.3 MB / 158.3 MB, free: 5.777 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 189 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.001011/0.00101, allocations: 100.2 kB / 0.5187 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001879/0.001879, allocations: 271.9 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.000443, allocations: 12.84 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1967, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.628/4.825, allocations: 1.83 GB / 2.603 GB, free: 247.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/4.825, allocations: 96.06 kB / 2.603 GB, free: 247.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.242/8.068, allocations: 0.9692 GB / 3.573 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.166e-06/8.068, allocations: 0 / 3.573 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001001/8.068, allocations: 31.98 kB / 3.573 GB, free: 118.1 MB / 0.7136 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.002993/8.071, allocations: 1.422 MB / 3.574 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/8.071, allocations: 8.031 kB / 3.574 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/8.071, allocations: 105.4 kB / 3.574 GB, free: 116.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007966/8.072, allocations: 182.5 kB / 3.574 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/8.074, allocations: 1.081 MB / 3.575 GB, free: 115.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/8.074, allocations: 49 kB / 3.575 GB, free: 115.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.053e-05/8.074, allocations: 63.95 kB / 3.575 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/8.075, allocations: 0.7692 MB / 3.576 GB, free: 114.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/8.075, allocations: 4 kB / 3.576 GB, free: 114.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/8.076, allocations: 24 kB / 3.576 GB, free: 114.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/8.076, allocations: 12 kB / 3.576 GB, free: 114.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007358/8.076, allocations: 0.511 MB / 3.577 GB, free: 113.7 MB / 0.7136 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.003593/8.08, allocations: 4.599 MB / 3.581 GB, free: 108.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/8.081, allocations: 430.5 kB / 3.582 GB, free: 108.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003391/8.081, allocations: 194.2 kB / 3.582 GB, free: 108.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004503/8.081, allocations: 295.4 kB / 3.582 GB, free: 107.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/8.081, allocations: 0 / 3.582 GB, free: 107.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.001288/8.083, allocations: 0.6404 MB / 3.583 GB, free: 107.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/8.083, allocations: 85.05 kB / 3.583 GB, free: 107 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/8.084, allocations: 0.9873 MB / 3.584 GB, free: 106 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/8.084, allocations: 37.69 kB / 3.584 GB, free: 105.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/8.084, allocations: 496.5 kB / 3.584 GB, free: 105.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.153e-05/8.084, allocations: 102.6 kB / 3.584 GB, free: 105.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/8.084, allocations: 8 kB / 3.584 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/8.084, allocations: 333.9 kB / 3.585 GB, free: 105 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/8.085, allocations: 184.7 kB / 3.585 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004585/8.085, allocations: 0.5007 MB / 3.585 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/8.086, allocations: 286.5 kB / 3.586 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/8.086, allocations: 0 / 3.586 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009088/8.086, allocations: 0.685 MB / 3.586 GB, free: 103.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000572/8.087, allocations: 2.136 MB / 3.588 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/8.087, allocations: 8 kB / 3.588 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/8.087, allocations: 8 kB / 3.588 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/8.089, allocations: 295.5 kB / 3.589 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/8.091, allocations: 6.083 MB / 3.595 GB, free: 94.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/8.092, allocations: 111.5 kB / 3.595 GB, free: 94.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/8.092, allocations: 31.94 kB / 3.595 GB, free: 94.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/8.092, allocations: 4.625 kB / 3.595 GB, free: 94.14 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007775/8.093, allocations: 0.5308 MB / 3.595 GB, free: 93.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/8.093, allocations: 7.984 kB / 3.595 GB, free: 93.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/8.093, allocations: 8 kB / 3.595 GB, free: 93.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/8.094, allocations: 152.5 kB / 3.595 GB, free: 93.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/8.094, allocations: 15.88 kB / 3.595 GB, free: 93.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006983/8.094, allocations: 91.53 kB / 3.596 GB, free: 93.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/8.094, allocations: 31.94 kB / 3.596 GB, free: 93.31 MB / 0.7136 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.0006294/8.095, allocations: 477.6 kB / 3.596 GB, free: 92.83 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/8.095, allocations: 98.78 kB / 3.596 GB, free: 92.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008337/8.096, allocations: 499 kB / 3.597 GB, free: 92.24 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/8.096, allocations: 4 kB / 3.597 GB, free: 92.24 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/8.096, allocations: 4 kB / 3.597 GB, free: 92.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/8.096, allocations: 4 kB / 3.597 GB, free: 92.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/8.098, allocations: 1.387 MB / 3.598 GB, free: 90.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/8.098, allocations: 8 kB / 3.598 GB, free: 90.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/8.099, allocations: 151.6 kB / 3.598 GB, free: 90.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/8.099, allocations: 7.953 kB / 3.598 GB, free: 90.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/8.099, allocations: 8 kB / 3.598 GB, free: 90.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/8.102, allocations: 6.025 MB / 3.604 GB, free: 84.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/8.102, allocations: 4.406 kB / 3.604 GB, free: 84.33 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/8.103, allocations: 0.6909 MB / 3.605 GB, free: 83.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004485/8.103, allocations: 223.8 kB / 3.605 GB, free: 83.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/8.103, allocations: 8 kB / 3.605 GB, free: 83.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005474/8.104, allocations: 55.78 kB / 3.605 GB, free: 83.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/8.104, allocations: 43.91 kB / 3.605 GB, free: 83.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/8.104, allocations: 8 kB / 3.605 GB, free: 83.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009443/8.105, allocations: 0.7836 MB / 3.606 GB, free: 82.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/8.105, allocations: 0 / 3.606 GB, free: 82.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001699/8.107, allocations: 479.7 kB / 3.606 GB, free: 81.95 MB / 0.7136 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.002723/8.109, allocations: 2.538 MB / 3.609 GB, free: 79.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002519/8.112, allocations: 0.9716 MB / 3.61 GB, free: 78.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/8.112, allocations: 0 / 3.61 GB, free: 78.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006413/8.113, allocations: 281.2 kB / 3.61 GB, free: 78.08 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/8.114, allocations: 456.4 kB / 3.61 GB, free: 77.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009947/8.124, allocations: 9.623 MB / 3.62 GB, free: 67.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/8.125, allocations: 1.202 MB / 3.621 GB, free: 66.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001224/8.126, allocations: 387.7 kB / 3.621 GB, free: 66.08 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/8.127, allocations: 307.3 kB / 3.622 GB, free: 65.78 MB / 0.7136 GB Notification: Performance of SimCode: time 1.913e-06/8.127, allocations: 0 / 3.622 GB, free: 65.78 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06264/8.189, allocations: 40.15 MB / 3.661 GB, free: 26.03 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/8.189, allocations: 274.4 kB / 3.661 GB, free: 25.67 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.588/11.78, allocations: 0 / 3.661 GB, free: 25.67 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)