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.7325/0.7325, allocations: 127.4 MB / 134.9 MB, free: 3.719 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 180.8 kB / 164.7 MB, free: 6.531 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.794/1.794, allocations: 205.2 MB / 399.5 MB, free: 5.879 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.001044/0.001044, allocations: 102.3 kB / 476.7 MB, free: 8.598 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.901e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1752, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.843/6.018, allocations: 2.138 GB / 2.76 GB, free: 94.15 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/6.019, allocations: 99.94 kB / 2.76 GB, free: 94.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.092/12.11, allocations: 1.742 GB / 4.502 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/12.11, allocations: 0 / 4.502 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001019/12.11, allocations: 31.98 kB / 4.502 GB, free: 18.47 MB / 0.6355 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.0017/12.11, allocations: 1.132 MB / 4.503 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/12.11, allocations: 8.031 kB / 4.503 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007272/12.11, allocations: 186.5 kB / 4.503 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/12.12, allocations: 1.092 MB / 4.504 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/12.12, allocations: 20 kB / 4.504 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/12.12, allocations: 40 kB / 4.504 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000627/12.12, allocations: 482.3 kB / 4.505 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007513/12.12, allocations: 0.6611 MB / 4.505 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/12.12, allocations: 0 / 4.505 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/12.12, allocations: 7.984 kB / 4.505 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/12.12, allocations: 19.95 kB / 4.505 GB, free: 14.66 MB / 0.6355 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.002766/12.12, allocations: 4.298 MB / 4.509 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/12.12, allocations: 466.3 kB / 4.51 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/12.12, allocations: 238.5 kB / 4.51 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/12.12, allocations: 202.6 kB / 4.51 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/12.12, allocations: 265 kB / 4.511 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 2.405e-06/12.12, allocations: 0 / 4.511 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.002687/12.12, allocations: 0.9017 MB / 4.511 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/12.12, allocations: 81.11 kB / 4.511 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000855/12.12, allocations: 0.8476 MB / 4.512 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/12.12, allocations: 29.7 kB / 4.512 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000286/12.12, allocations: 0.4884 MB / 4.513 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.487e-05/12.12, allocations: 106.7 kB / 4.513 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/12.12, allocations: 3.938 kB / 4.513 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.314e-05/12.12, allocations: 326 kB / 4.513 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/12.13, allocations: 296.6 kB / 4.513 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/12.13, allocations: 0.6005 MB / 4.514 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/12.13, allocations: 357.5 kB / 4.514 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/12.13, allocations: 0 / 4.514 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009839/12.13, allocations: 0.8239 MB / 4.515 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003777/12.13, allocations: 2.047 MB / 4.517 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/12.13, allocations: 4 kB / 4.517 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/12.13, allocations: 8 kB / 4.517 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/12.13, allocations: 191.7 kB / 4.517 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/12.13, allocations: 8 kB / 4.517 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/12.13, allocations: 159.4 kB / 4.518 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/12.13, allocations: 27.98 kB / 4.518 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/12.13, allocations: 4.625 kB / 4.518 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005127/12.13, allocations: 416.5 kB / 4.518 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/12.13, allocations: 4 kB / 4.518 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.635e-06/12.13, allocations: 8 kB / 4.518 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/12.13, allocations: 111.8 kB / 4.518 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/12.13, allocations: 8 kB / 4.518 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/12.13, allocations: 79.81 kB / 4.518 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/12.13, allocations: 24 kB / 4.518 GB, free: 0.5039 MB / 0.6355 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.0001454/12.13, allocations: 128.8 kB / 4.518 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.4157/12.55, allocations: 0.6059 MB / 4.519 GB, free: 162.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003923/12.55, allocations: 90.53 kB / 4.519 GB, free: 162.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/12.55, allocations: 103.5 kB / 4.519 GB, free: 162.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/12.55, allocations: 3.906 kB / 4.519 GB, free: 162.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/12.55, allocations: 1.359 kB / 4.519 GB, free: 162.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/12.55, allocations: 2.078 kB / 4.519 GB, free: 162.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/12.55, allocations: 1.623 MB / 4.521 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/12.55, allocations: 1.188 kB / 4.521 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/12.55, allocations: 142.8 kB / 4.521 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/12.55, allocations: 3.984 kB / 4.521 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/12.55, allocations: 9.188 kB / 4.521 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.377e-06/12.55, allocations: 3.469 kB / 4.521 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/12.55, allocations: 4.234 kB / 4.521 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/12.55, allocations: 0.8326 MB / 4.522 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/12.55, allocations: 168.4 kB / 4.522 GB, free: 162 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/12.55, allocations: 6.016 kB / 4.522 GB, free: 162 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009/12.55, allocations: 122.3 kB / 4.522 GB, free: 162 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/12.55, allocations: 33.16 kB / 4.522 GB, free: 162 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/12.55, allocations: 18.75 kB / 4.522 GB, free: 162 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001021/12.56, allocations: 0.6593 MB / 4.523 GB, free: 161.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/12.56, allocations: 1.406 kB / 4.523 GB, free: 161.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001721/12.56, allocations: 459.4 kB / 4.523 GB, free: 161.9 MB / 0.6355 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.003118/12.56, allocations: 2.716 MB / 4.526 GB, free: 160.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001735/12.56, allocations: 0.9892 MB / 4.527 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/12.56, allocations: 0 / 4.527 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004952/12.56, allocations: 305.6 kB / 4.527 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/12.57, allocations: 388.6 kB / 4.527 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/12.57, allocations: 1.73 MB / 4.529 GB, free: 160 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/12.57, allocations: 1.208 MB / 4.53 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00255/12.57, allocations: 0.8459 MB / 4.531 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005266/12.57, allocations: 318.5 kB / 4.531 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of SimCode: time 9.01e-07/12.57, allocations: 0 / 4.531 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07697/12.65, allocations: 32.76 MB / 4.563 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/12.65, allocations: 206.3 kB / 4.564 GB, free: 158.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.204/15.85, allocations: 2.344 kB / 4.564 GB, free: 158.2 MB / 0.6355 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)