Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7464/0.7464, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 188.7 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.1 MB / 404.5 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001186/0.001185, allocations: 92.97 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.481e-05, allocations: 8 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1767, allocations: 76.75 MB / 0.6283 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.306/5.482, allocations: 2.139 GB / 2.767 GB, free: 189.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/5.483, allocations: 95.94 kB / 2.767 GB, free: 189.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.238/11.72, allocations: 1.76 GB / 4.527 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.645e-06/11.72, allocations: 0 / 4.527 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001232/11.72, allocations: 30.42 kB / 4.527 GB, free: 157.7 MB / 0.6511 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.002033/11.72, allocations: 1.14 MB / 4.528 GB, free: 157 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/11.72, allocations: 14.69 kB / 4.528 GB, free: 157 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/11.72, allocations: 92.94 kB / 4.528 GB, free: 157 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007483/11.72, allocations: 179.4 kB / 4.528 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/11.73, allocations: 1.101 MB / 4.53 GB, free: 156.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/11.73, allocations: 43.16 kB / 4.53 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.642e-05/11.73, allocations: 64.8 kB / 4.53 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002997/11.73, allocations: 1.137 MB / 4.531 GB, free: 156 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/11.73, allocations: 3.875 kB / 4.531 GB, free: 156 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/11.73, allocations: 19.91 kB / 4.531 GB, free: 156 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/11.73, allocations: 17.59 kB / 4.531 GB, free: 156 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/11.73, allocations: 0.8892 MB / 4.532 GB, free: 155.8 MB / 0.6511 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.003694/11.74, allocations: 4.435 MB / 4.536 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/11.74, allocations: 0.8161 MB / 4.537 GB, free: 152 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/11.74, allocations: 230.5 kB / 4.537 GB, free: 151.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/11.74, allocations: 192.8 kB / 4.537 GB, free: 151.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00227/11.74, allocations: 0.6888 MB / 4.538 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 2.655e-06/11.74, allocations: 0 / 4.538 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.004889/11.75, allocations: 1.272 MB / 4.539 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/11.75, allocations: 80.92 kB / 4.539 GB, free: 151.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/11.75, allocations: 0.9772 MB / 4.54 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/11.75, allocations: 36.3 kB / 4.54 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/11.75, allocations: 0.4966 MB / 4.541 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.832e-05/11.75, allocations: 104 kB / 4.541 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/11.75, allocations: 11.81 kB / 4.541 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.986e-05/11.75, allocations: 330.8 kB / 4.541 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/11.75, allocations: 283 kB / 4.541 GB, free: 150 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000638/11.75, allocations: 0.5928 MB / 4.542 GB, free: 149.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/11.75, allocations: 369.7 kB / 4.542 GB, free: 149.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/11.75, allocations: 0 / 4.542 GB, free: 149.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001137/11.75, allocations: 0.8468 MB / 4.543 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005571/11.75, allocations: 2.057 MB / 4.545 GB, free: 147 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/11.75, allocations: 3.969 kB / 4.545 GB, free: 147 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/11.75, allocations: 7.062 kB / 4.545 GB, free: 147 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/11.75, allocations: 195.8 kB / 4.545 GB, free: 147 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/11.75, allocations: 10.52 kB / 4.545 GB, free: 147 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/11.75, allocations: 171.2 kB / 4.545 GB, free: 146.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/11.75, allocations: 25.52 kB / 4.546 GB, free: 146.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/11.75, allocations: 8.328 kB / 4.546 GB, free: 146.9 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006736/11.75, allocations: 497.9 kB / 4.546 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/11.75, allocations: 3.469 kB / 4.546 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/11.75, allocations: 20.09 kB / 4.546 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/11.75, allocations: 103.5 kB / 4.546 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/11.75, allocations: 12.91 kB / 4.546 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/11.75, allocations: 96.84 kB / 4.546 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/11.75, allocations: 22.22 kB / 4.546 GB, free: 146.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001599/11.75, allocations: 138.4 kB / 4.546 GB, free: 146.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/11.75, allocations: 106 kB / 4.546 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/11.76, allocations: 115.2 kB / 4.547 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/11.76, allocations: 3.375 kB / 4.547 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/11.76, allocations: 2.953 kB / 4.547 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/11.76, allocations: 0 / 4.547 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/11.76, allocations: 1.704 MB / 4.548 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/11.76, allocations: 3.875 kB / 4.548 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/11.76, allocations: 138.1 kB / 4.548 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-05/11.76, allocations: 13.31 kB / 4.548 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/11.76, allocations: 10.81 kB / 4.548 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/11.76, allocations: 3.938 kB / 4.548 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/11.76, allocations: 3.844 kB / 4.548 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/11.76, allocations: 0.8548 MB / 4.549 GB, free: 145.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/11.76, allocations: 182.9 kB / 4.549 GB, free: 145 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/11.76, allocations: 7.938 kB / 4.549 GB, free: 145 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008142/11.76, allocations: 131.6 kB / 4.55 GB, free: 145 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/11.76, allocations: 25.94 kB / 4.55 GB, free: 145 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/11.76, allocations: 15.12 kB / 4.55 GB, free: 145 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001019/11.76, allocations: 0.7716 MB / 4.55 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/11.76, allocations: 0 / 4.55 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001646/11.76, allocations: 487.2 kB / 4.551 GB, free: 144.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003069/11.77, allocations: 2.612 MB / 4.553 GB, free: 143.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001552/11.77, allocations: 1.008 MB / 4.554 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/11.77, allocations: 3.938 kB / 4.554 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004367/11.77, allocations: 299.8 kB / 4.555 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/11.77, allocations: 458.1 kB / 4.555 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/11.77, allocations: 1.792 MB / 4.557 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/11.77, allocations: 1.2 MB / 4.558 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001986/11.78, allocations: 0.8437 MB / 4.559 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004512/11.78, allocations: 317 kB / 4.559 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of SimCode: time 8.22e-07/11.78, allocations: 0 / 4.559 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06926/11.85, allocations: 46.08 MB / 4.604 GB, free: 98.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/11.85, allocations: 225.7 kB / 4.604 GB, free: 98.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.698/15.54, allocations: 2.5 kB / 4.604 GB, free: 98.14 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)