Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.8417/0.8417, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 173 kB / 182.2 MB, free: 9.453 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.603/1.603, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.00106/0.00106, allocations: 88.11 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001837/0.001838, allocations: 274.3 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.537e-05/2.538e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5144/0.5144, allocations: 82.77 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.117/5.631, allocations: 1.829 GB / 2.586 GB, free: 230.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/5.631, allocations: 93.02 kB / 2.587 GB, free: 230.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.435/13.07, allocations: 1.976 GB / 4.562 GB, free: 127.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/13.07, allocations: 4 kB / 4.562 GB, free: 127.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000123/13.07, allocations: 35.75 kB / 4.562 GB, free: 127.3 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003637/13.07, allocations: 1.272 MB / 4.564 GB, free: 126.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/13.07, allocations: 12.03 kB / 4.564 GB, free: 126 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009222/13.07, allocations: 197 kB / 4.564 GB, free: 125.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/13.07, allocations: 1.434 MB / 4.565 GB, free: 124.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/13.07, allocations: 20 kB / 4.565 GB, free: 124.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-05/13.07, allocations: 40 kB / 4.565 GB, free: 124.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009081/13.08, allocations: 0.7014 MB / 4.566 GB, free: 123.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00098/13.08, allocations: 0.8539 MB / 4.567 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/13.08, allocations: 7.938 kB / 4.567 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/13.08, allocations: 8 kB / 4.567 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/13.08, allocations: 12 kB / 4.567 GB, free: 122.7 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.003525/13.08, allocations: 4.583 MB / 4.571 GB, free: 117.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/13.08, allocations: 4.089 MB / 4.575 GB, free: 112.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/13.08, allocations: 344.9 kB / 4.576 GB, free: 112.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/13.08, allocations: 193.6 kB / 4.576 GB, free: 112.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003525/13.08, allocations: 301.8 kB / 4.576 GB, free: 112 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003008/13.08, allocations: 15.75 kB / 4.576 GB, free: 112 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.114e-06/13.08, allocations: 0 / 4.576 GB, free: 112 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001553/13.08, allocations: 0.8007 MB / 4.577 GB, free: 111.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/13.08, allocations: 89.03 kB / 4.577 GB, free: 111.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009419/13.09, allocations: 0.8985 MB / 4.578 GB, free: 110.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/13.09, allocations: 25.7 kB / 4.578 GB, free: 110.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/13.09, allocations: 0.531 MB / 4.578 GB, free: 109.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/13.09, allocations: 130.2 kB / 4.579 GB, free: 109.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/13.09, allocations: 0 / 4.579 GB, free: 109.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.92e-05/13.09, allocations: 322 kB / 4.579 GB, free: 109.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/13.09, allocations: 205 kB / 4.579 GB, free: 108.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/13.09, allocations: 0.5316 MB / 4.58 GB, free: 108.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/13.09, allocations: 305.8 kB / 4.58 GB, free: 108 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/13.09, allocations: 4 kB / 4.58 GB, free: 108 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001369/13.09, allocations: 0.9487 MB / 4.581 GB, free: 107 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004701/13.09, allocations: 2.212 MB / 4.583 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/13.09, allocations: 8 kB / 4.583 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004214/13.09, allocations: 228.6 kB / 4.583 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/13.09, allocations: 83.73 kB / 4.583 GB, free: 104.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008977/13.09, allocations: 1.112 MB / 4.584 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009292/13.09, allocations: 91.8 kB / 4.584 GB, free: 103.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/13.09, allocations: 27.98 kB / 4.584 GB, free: 103 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/13.09, allocations: 5.406 kB / 4.584 GB, free: 103 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009558/13.09, allocations: 0.6485 MB / 4.585 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/13.09, allocations: 11.94 kB / 4.585 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004608/13.09, allocations: 213.5 kB / 4.585 GB, free: 102.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/13.09, allocations: 71.89 kB / 4.585 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/13.1, allocations: 2.776 MB / 4.588 GB, free: 99.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008996/13.1, allocations: 87.8 kB / 4.588 GB, free: 99.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/13.1, allocations: 28 kB / 4.588 GB, free: 99.1 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 (40): * Single equations (assignments): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001616/13.1, allocations: 121 kB / 4.588 GB, free: 98.98 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008875/13.1, allocations: 0.6761 MB / 4.589 GB, free: 98.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.072e-05/13.1, allocations: 102.7 kB / 4.589 GB, free: 98.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/13.1, allocations: 0.7321 MB / 4.59 GB, free: 97.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/13.1, allocations: 4 kB / 4.59 GB, free: 97.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/13.1, allocations: 3.938 kB / 4.59 GB, free: 97.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/13.1, allocations: 0 / 4.59 GB, free: 97.45 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.002285/13.1, allocations: 2.013 MB / 4.592 GB, free: 95.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/13.1, allocations: 4 kB / 4.592 GB, free: 95.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/13.1, allocations: 47.91 kB / 4.592 GB, free: 95.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002411/13.1, allocations: 140.8 kB / 4.592 GB, free: 95.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/13.1, allocations: 8.234 kB / 4.592 GB, free: 95.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005947/13.1, allocations: 0.8722 MB / 4.593 GB, free: 94.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/13.1, allocations: 7.969 kB / 4.593 GB, free: 94.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008629/13.1, allocations: 0.884 MB / 4.594 GB, free: 93.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/13.1, allocations: 223.7 kB / 4.594 GB, free: 93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/13.1, allocations: 11.95 kB / 4.594 GB, free: 92.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006571/13.1, allocations: 71.75 kB / 4.594 GB, free: 92.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/13.1, allocations: 39.89 kB / 4.594 GB, free: 92.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/13.1, allocations: 12 kB / 4.594 GB, free: 92.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007915/13.11, allocations: 0.6945 MB / 4.595 GB, free: 92.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/13.11, allocations: 4 kB / 4.595 GB, free: 92.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001754/13.11, allocations: 0.5694 MB / 4.595 GB, free: 91.59 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003223/13.11, allocations: 3.01 MB / 4.598 GB, free: 88.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001642/13.11, allocations: 1.07 MB / 4.599 GB, free: 87.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/13.11, allocations: 8 kB / 4.599 GB, free: 87.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003195/13.11, allocations: 227.6 kB / 4.6 GB, free: 87.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/13.12, allocations: 0.5827 MB / 4.6 GB, free: 86.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/13.12, allocations: 1.714 MB / 4.602 GB, free: 84.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/13.12, allocations: 1.234 MB / 4.603 GB, free: 83.67 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001739/13.12, allocations: 0.7298 MB / 4.604 GB, free: 82.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/13.12, allocations: 331.3 kB / 4.604 GB, free: 82.61 MB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/13.12, allocations: 8 kB / 4.604 GB, free: 82.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0608/13.18, allocations: 36.4 MB / 4.64 GB, free: 46.41 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/13.18, allocations: 212.8 kB / 4.64 GB, free: 46.13 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.183/16.36, allocations: 2.75 kB / 4.64 GB, free: 46.13 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)