Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.921/1.921, allocations: 292.6 MB / 307.5 MB, free: 5.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001616/0.001616, allocations: 180.3 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.4 MB / 0.6366 GB, free: 8.496 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 91 kB / 0.7509 GB, free: 63.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005169/0.000517, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3349, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.875/6.21, allocations: 2.064 GB / 3.053 GB, free: 117.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/6.211, allocations: 95.25 kB / 3.053 GB, free: 117.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.814/10.02, allocations: 0.9618 GB / 4.015 GB, free: 208.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.224e-06/10.02, allocations: 4 kB / 4.015 GB, free: 208.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001613/10.02, allocations: 31.69 kB / 4.015 GB, free: 208.7 MB / 0.948 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.004101/10.03, allocations: 1.424 MB / 4.016 GB, free: 207.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/10.03, allocations: 9.281 kB / 4.016 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001919/10.03, allocations: 96.5 kB / 4.016 GB, free: 207.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008468/10.03, allocations: 189.7 kB / 4.016 GB, free: 207.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/10.03, allocations: 1.09 MB / 4.017 GB, free: 207.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/10.03, allocations: 52.03 kB / 4.018 GB, free: 207.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.796e-05/10.03, allocations: 57.44 kB / 4.018 GB, free: 207.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/10.03, allocations: 0.7686 MB / 4.018 GB, free: 206.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/10.03, allocations: 1.094 kB / 4.018 GB, free: 206.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/10.03, allocations: 27.2 kB / 4.018 GB, free: 206.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/10.03, allocations: 13.88 kB / 4.018 GB, free: 206.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00084/10.03, allocations: 0.5132 MB / 4.019 GB, free: 206.6 MB / 0.948 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.003651/10.04, allocations: 4.597 MB / 4.023 GB, free: 202.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/10.04, allocations: 434.9 kB / 4.024 GB, free: 202.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/10.04, allocations: 189 kB / 4.024 GB, free: 202.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004005/10.04, allocations: 291.7 kB / 4.024 GB, free: 202.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/10.04, allocations: 0 / 4.024 GB, free: 202.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001261/10.04, allocations: 0.6431 MB / 4.025 GB, free: 202 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/10.04, allocations: 84.89 kB / 4.025 GB, free: 202 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/10.04, allocations: 0.9769 MB / 4.026 GB, free: 201.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/10.04, allocations: 39.23 kB / 4.026 GB, free: 201.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/10.04, allocations: 0.4895 MB / 4.026 GB, free: 201.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/10.04, allocations: 112.3 kB / 4.027 GB, free: 201.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/10.04, allocations: 6.094 kB / 4.027 GB, free: 201.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.404e-05/10.04, allocations: 329.3 kB / 4.027 GB, free: 200.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/10.04, allocations: 183.8 kB / 4.027 GB, free: 200.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/10.04, allocations: 0.5119 MB / 4.028 GB, free: 200.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/10.04, allocations: 293.2 kB / 4.028 GB, free: 200.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/10.04, allocations: 5.656 kB / 4.028 GB, free: 200.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009993/10.05, allocations: 0.6755 MB / 4.028 GB, free: 199.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004236/10.05, allocations: 2.128 MB / 4.031 GB, free: 197.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/10.05, allocations: 11.75 kB / 4.031 GB, free: 197.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/10.05, allocations: 7.844 kB / 4.031 GB, free: 197.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/10.05, allocations: 285.7 kB / 4.031 GB, free: 197.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/10.05, allocations: 6.097 MB / 4.037 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009496/10.05, allocations: 96.78 kB / 4.037 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/10.05, allocations: 30.38 kB / 4.037 GB, free: 191.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/10.05, allocations: 3.531 kB / 4.037 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007649/10.05, allocations: 0.5348 MB / 4.037 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/10.05, allocations: 3.594 kB / 4.037 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/10.05, allocations: 11.09 kB / 4.037 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/10.05, allocations: 147 kB / 4.038 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/10.05, allocations: 19.42 kB / 4.038 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006908/10.05, allocations: 93.95 kB / 4.038 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/10.05, allocations: 23.28 kB / 4.038 GB, free: 191.3 MB / 0.948 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.0005665/10.05, allocations: 468.8 kB / 4.038 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/10.05, allocations: 100.8 kB / 4.038 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007861/10.05, allocations: 0.4941 MB / 4.039 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/10.05, allocations: 6.75 kB / 4.039 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/10.05, allocations: 0 / 4.039 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/10.05, allocations: 7.875 kB / 4.039 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/10.06, allocations: 1.397 MB / 4.04 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/10.06, allocations: 7.703 kB / 4.04 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/10.06, allocations: 156.5 kB / 4.04 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/10.06, allocations: 11.7 kB / 4.04 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/10.06, allocations: 7.906 kB / 4.04 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/10.06, allocations: 6.023 MB / 4.046 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/10.06, allocations: 4.031 kB / 4.046 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007528/10.06, allocations: 0.707 MB / 4.047 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/10.06, allocations: 214.9 kB / 4.047 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/10.06, allocations: 5.719 kB / 4.047 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005037/10.06, allocations: 56.41 kB / 4.047 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/10.06, allocations: 33.64 kB / 4.047 GB, free: 183.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/10.06, allocations: 11.62 kB / 4.047 GB, free: 183.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008376/10.06, allocations: 0.7784 MB / 4.048 GB, free: 183.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/10.06, allocations: 4 kB / 4.048 GB, free: 183.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001414/10.06, allocations: 483.5 kB / 4.048 GB, free: 183.1 MB / 0.948 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.002129/10.06, allocations: 2.526 MB / 4.051 GB, free: 181.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002324/10.07, allocations: 0.9695 MB / 4.052 GB, free: 181 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/10.07, allocations: 0 / 4.052 GB, free: 181 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006524/10.07, allocations: 279 kB / 4.052 GB, free: 181 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/10.07, allocations: 460.2 kB / 4.053 GB, free: 180.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/10.08, allocations: 9.624 MB / 4.062 GB, free: 174.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/10.08, allocations: 1.204 MB / 4.063 GB, free: 173.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0011/10.08, allocations: 377.5 kB / 4.063 GB, free: 173.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/10.08, allocations: 311.8 kB / 4.064 GB, free: 173.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.103e-06/10.08, allocations: 4 kB / 4.064 GB, free: 173.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05865/10.14, allocations: 40.11 MB / 4.103 GB, free: 157.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/10.14, allocations: 272.7 kB / 4.103 GB, free: 157.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.516/13.66, allocations: 0 / 4.103 GB, free: 157.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)