Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.82/1.82, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.0014/0.0014, allocations: 177.1 kB / 377.1 MB, free: 1.52 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.824/1.824, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.001158/0.001158, allocations: 95.08 kB / 0.7509 GB, free: 62.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3163, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.891/6.207, allocations: 2.065 GB / 3.053 GB, free: 156 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/6.207, allocations: 93.14 kB / 3.053 GB, free: 155.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.222/13.43, allocations: 1.79 GB / 4.843 GB, free: 170.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.544e-06/13.43, allocations: 0 / 4.843 GB, free: 170.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002264/13.43, allocations: 30.89 kB / 4.843 GB, free: 170.1 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.006167/13.44, allocations: 1.497 MB / 4.845 GB, free: 169 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/13.44, allocations: 7.625 kB / 4.845 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004328/13.44, allocations: 107.5 kB / 4.845 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/13.44, allocations: 188.1 kB / 4.845 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004194/13.44, allocations: 1.393 MB / 4.847 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/13.44, allocations: 48.31 kB / 4.847 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.282e-05/13.44, allocations: 62.22 kB / 4.847 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/13.44, allocations: 0.7921 MB / 4.847 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/13.44, allocations: 2.875 kB / 4.847 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/13.44, allocations: 22.38 kB / 4.847 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/13.44, allocations: 15.28 kB / 4.847 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008012/13.44, allocations: 0.5344 MB / 4.848 GB, free: 167 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.003874/13.45, allocations: 4.224 MB / 4.852 GB, free: 163.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007309/13.45, allocations: 440.5 kB / 4.853 GB, free: 163 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003211/13.45, allocations: 199.8 kB / 4.853 GB, free: 162.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005463/13.45, allocations: 324.2 kB / 4.853 GB, free: 162.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003819/13.45, allocations: 27.56 kB / 4.853 GB, free: 162.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.334e-06/13.45, allocations: 0 / 4.853 GB, free: 162.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.003558/13.45, allocations: 1.376 MB / 4.854 GB, free: 161.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/13.45, allocations: 88.38 kB / 4.854 GB, free: 161.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/13.45, allocations: 1.012 MB / 4.855 GB, free: 161.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/13.45, allocations: 41.45 kB / 4.855 GB, free: 161.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/13.45, allocations: 489.7 kB / 4.856 GB, free: 160.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.098e-05/13.46, allocations: 114.5 kB / 4.856 GB, free: 160.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/13.46, allocations: 12 kB / 4.856 GB, free: 160.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.452e-05/13.46, allocations: 325.9 kB / 4.856 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/13.46, allocations: 208.9 kB / 4.857 GB, free: 160.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/13.46, allocations: 0.5256 MB / 4.857 GB, free: 159.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/13.46, allocations: 308.6 kB / 4.857 GB, free: 159.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/13.46, allocations: 0 / 4.857 GB, free: 159.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001442/13.46, allocations: 0.9642 MB / 4.858 GB, free: 158.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000618/13.46, allocations: 2.131 MB / 4.86 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/13.46, allocations: 8 kB / 4.86 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005944/13.46, allocations: 254.2 kB / 4.861 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/13.46, allocations: 75.84 kB / 4.861 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009173/13.46, allocations: 1.022 MB / 4.862 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/13.46, allocations: 87.92 kB / 4.862 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-05/13.46, allocations: 27.94 kB / 4.862 GB, free: 154.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/13.46, allocations: 8 kB / 4.862 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001258/13.46, allocations: 0.7807 MB / 4.863 GB, free: 153.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/13.46, allocations: 7.938 kB / 4.863 GB, free: 153.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000551/13.46, allocations: 245.2 kB / 4.863 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/13.46, allocations: 75.84 kB / 4.863 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/13.47, allocations: 3.052 MB / 4.866 GB, free: 150 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009488/13.47, allocations: 95.75 kB / 4.866 GB, free: 149.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/13.47, allocations: 20 kB / 4.866 GB, free: 149.9 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0007267/13.47, allocations: 474.6 kB / 4.866 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/13.47, allocations: 106.7 kB / 4.867 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/13.47, allocations: 0.785 MB / 4.867 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/13.47, allocations: 4 kB / 4.867 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/13.47, allocations: 0 / 4.867 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/13.47, allocations: 4 kB / 4.867 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/13.47, allocations: 1.705 MB / 4.869 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/13.47, allocations: 4.062 kB / 4.869 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/13.47, allocations: 35.91 kB / 4.869 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004589/13.47, allocations: 247.5 kB / 4.869 GB, free: 146.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/13.47, allocations: 12 kB / 4.869 GB, free: 146.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007349/13.47, allocations: 1.001 MB / 4.87 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/13.47, allocations: 0 / 4.87 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/13.48, allocations: 0.9828 MB / 4.871 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004328/13.48, allocations: 223.8 kB / 4.871 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-05/13.48, allocations: 11.98 kB / 4.871 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/13.48, allocations: 75.72 kB / 4.872 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/13.48, allocations: 23.97 kB / 4.872 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/13.48, allocations: 15.98 kB / 4.872 GB, free: 144 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009229/13.48, allocations: 0.8002 MB / 4.872 GB, free: 143.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.11e-07/13.48, allocations: 8 kB / 4.872 GB, free: 143.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001679/13.48, allocations: 0.5387 MB / 4.873 GB, free: 142.7 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.002937/13.48, allocations: 2.722 MB / 4.876 GB, free: 139.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001952/13.48, allocations: 1.101 MB / 4.877 GB, free: 138.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/13.48, allocations: 0 / 4.877 GB, free: 138.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004388/13.48, allocations: 246.5 kB / 4.877 GB, free: 138.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/13.49, allocations: 0.6409 MB / 4.877 GB, free: 137.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/13.5, allocations: 10.03 MB / 4.887 GB, free: 127.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/13.5, allocations: 1.205 MB / 4.888 GB, free: 126.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001183/13.5, allocations: 312.4 kB / 4.889 GB, free: 125.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004155/13.5, allocations: 323.3 kB / 4.889 GB, free: 125.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.463e-06/13.5, allocations: 0 / 4.889 GB, free: 125.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06834/13.57, allocations: 44.36 MB / 4.932 GB, free: 81.55 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/13.57, allocations: 271.9 kB / 4.933 GB, free: 81.18 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.405/16.98, allocations: 0 / 4.933 GB, free: 81.18 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)