Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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 0.698/0.698, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009834/0.0009835, allocations: 181.3 kB / 187.3 MB, free: 11.89 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.222/1.222, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0008452/0.0008452, allocations: 91 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001633/0.001633, allocations: 278 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.655e-05/2.658e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3164, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.271/3.588, allocations: 1.832 GB / 2.597 GB, free: 174.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/3.588, allocations: 96.11 kB / 2.597 GB, free: 174.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.465/9.053, allocations: 2.007 GB / 4.603 GB, free: 27.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.062e-06/9.053, allocations: 0 / 4.603 GB, free: 27.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.081e-05/9.053, allocations: 35.98 kB / 4.603 GB, free: 27.95 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003143/9.056, allocations: 1.275 MB / 4.604 GB, free: 26.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/9.056, allocations: 12.03 kB / 4.605 GB, free: 26.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/9.056, allocations: 106.5 kB / 4.605 GB, free: 26.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008325/9.057, allocations: 194.4 kB / 4.605 GB, free: 26.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003216/9.06, allocations: 1.461 MB / 4.606 GB, free: 24.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/9.06, allocations: 45.31 kB / 4.606 GB, free: 24.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-05/9.06, allocations: 64 kB / 4.606 GB, free: 24.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/9.062, allocations: 0.9176 MB / 4.607 GB, free: 23.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/9.062, allocations: 7.938 kB / 4.607 GB, free: 23.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/9.062, allocations: 28 kB / 4.607 GB, free: 23.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/9.062, allocations: 12 kB / 4.607 GB, free: 23.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007969/9.062, allocations: 0.7103 MB / 4.608 GB, free: 22.91 MB / 0.698 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.003082/9.066, allocations: 4.692 MB / 4.613 GB, free: 17.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/9.067, allocations: 3.959 MB / 4.616 GB, free: 13.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/9.067, allocations: 326.8 kB / 4.617 GB, free: 12.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/9.067, allocations: 198 kB / 4.617 GB, free: 12.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/9.068, allocations: 310.4 kB / 4.617 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002431/9.068, allocations: 35.62 kB / 4.617 GB, free: 12.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 1.743e-06/9.068, allocations: 0 / 4.617 GB, free: 12.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001145/9.069, allocations: 0.7733 MB / 4.618 GB, free: 11.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/9.069, allocations: 85.11 kB / 4.618 GB, free: 11.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009366/9.07, allocations: 1.028 MB / 4.619 GB, free: 10.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/9.07, allocations: 37.7 kB / 4.619 GB, free: 10.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/9.07, allocations: 0.5127 MB / 4.62 GB, free: 9.703 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/9.07, allocations: 126.2 kB / 4.62 GB, free: 9.578 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/9.07, allocations: 16 kB / 4.62 GB, free: 9.562 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.589e-05/9.07, allocations: 326 kB / 4.62 GB, free: 9.238 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/9.071, allocations: 189 kB / 4.62 GB, free: 9.055 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/9.071, allocations: 0.5287 MB / 4.621 GB, free: 8.375 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/9.071, allocations: 315.4 kB / 4.621 GB, free: 8.062 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/9.071, allocations: 0 / 4.621 GB, free: 8.062 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001115/9.072, allocations: 0.9663 MB / 4.622 GB, free: 7.078 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003191/9.073, allocations: 2.225 MB / 4.624 GB, free: 4.688 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/9.073, allocations: 8 kB / 4.624 GB, free: 4.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005062/9.073, allocations: 268.5 kB / 4.624 GB, free: 4.414 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/9.074, allocations: 71.89 kB / 4.625 GB, free: 4.344 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007454/9.074, allocations: 1.046 MB / 4.626 GB, free: 3.273 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008316/9.075, allocations: 103.8 kB / 4.626 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/9.075, allocations: 31.98 kB / 4.626 GB, free: 3.141 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/9.075, allocations: 4 kB / 4.626 GB, free: 3.137 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001012/9.076, allocations: 0.7644 MB / 4.626 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/9.076, allocations: 4 kB / 4.626 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004952/9.077, allocations: 263.3 kB / 4.627 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/9.077, allocations: 71.89 kB / 4.627 GB, free: 2.031 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3285/9.406, allocations: 3.072 MB / 4.63 GB, free: 174.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/9.407, allocations: 101.9 kB / 4.63 GB, free: 174.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/9.407, allocations: 23.67 kB / 4.63 GB, free: 174.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001663/9.407, allocations: 140.6 kB / 4.63 GB, free: 174.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/9.407, allocations: 112.3 kB / 4.63 GB, free: 174.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/9.408, allocations: 0.7854 MB / 4.631 GB, free: 174.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/9.408, allocations: 4.594 kB / 4.631 GB, free: 174.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/9.409, allocations: 5.125 kB / 4.631 GB, free: 174.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/9.409, allocations: 5.219 kB / 4.631 GB, free: 174.4 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.00298/9.412, allocations: 2.147 MB / 4.633 GB, free: 173.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/9.412, allocations: 1.719 kB / 4.633 GB, free: 173.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/9.412, allocations: 52.48 kB / 4.633 GB, free: 173.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/9.412, allocations: 208.3 kB / 4.633 GB, free: 173.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/9.412, allocations: 13.3 kB / 4.633 GB, free: 173.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007229/9.413, allocations: 0.8748 MB / 4.634 GB, free: 173.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/9.413, allocations: 4.688 kB / 4.634 GB, free: 173.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/9.414, allocations: 0.966 MB / 4.635 GB, free: 172.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003873/9.415, allocations: 233.6 kB / 4.635 GB, free: 172.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/9.415, allocations: 10.27 kB / 4.635 GB, free: 172.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006877/9.415, allocations: 77.92 kB / 4.635 GB, free: 172.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/9.416, allocations: 44.47 kB / 4.635 GB, free: 172.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/9.416, allocations: 11.52 kB / 4.635 GB, free: 172.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001218/9.417, allocations: 0.8177 MB / 4.636 GB, free: 172.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/9.417, allocations: 0 / 4.636 GB, free: 172.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001634/9.419, allocations: 0.6135 MB / 4.637 GB, free: 172.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002108/9.421, allocations: 2.971 MB / 4.64 GB, free: 170.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001391/9.422, allocations: 1.117 MB / 4.641 GB, free: 170.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/9.422, allocations: 0 / 4.641 GB, free: 170.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003285/9.422, allocations: 243.2 kB / 4.641 GB, free: 170.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/9.425, allocations: 0.646 MB / 4.642 GB, free: 170.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/9.427, allocations: 1.762 MB / 4.643 GB, free: 170.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/9.428, allocations: 1.245 MB / 4.645 GB, free: 169.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001702/9.43, allocations: 0.8093 MB / 4.645 GB, free: 169.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/9.43, allocations: 335.4 kB / 4.646 GB, free: 169.3 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/9.43, allocations: 0 / 4.646 GB, free: 169.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06505/9.495, allocations: 52.93 MB / 4.697 GB, free: 167.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/9.495, allocations: 257.3 kB / 4.698 GB, free: 167.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.264/12.76, allocations: 0 / 4.698 GB, free: 167.6 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)