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.6843/0.6843, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.0009662/0.0009664, allocations: 176.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.198/1.198, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.0008428/0.0008427, allocations: 91.33 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001617/0.001617, allocations: 273 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.085e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3405, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.37/3.711, allocations: 1.83 GB / 2.594 GB, free: 219.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/3.711, allocations: 91.94 kB / 2.594 GB, free: 219.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.653/9.364, allocations: 1.996 GB / 4.59 GB, free: 76.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/9.364, allocations: 4 kB / 4.59 GB, free: 76.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.649e-05/9.364, allocations: 31.98 kB / 4.59 GB, free: 76.14 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.003231/9.367, allocations: 1.271 MB / 4.592 GB, free: 74.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/9.367, allocations: 8.031 kB / 4.592 GB, free: 74.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001784/9.368, allocations: 98.52 kB / 4.592 GB, free: 74.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008295/9.368, allocations: 203.9 kB / 4.592 GB, free: 74.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003152/9.372, allocations: 1.426 MB / 4.593 GB, free: 73.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/9.372, allocations: 57.2 kB / 4.593 GB, free: 72.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.191e-05/9.372, allocations: 68 kB / 4.593 GB, free: 72.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/9.373, allocations: 0.9264 MB / 4.594 GB, free: 71.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/9.373, allocations: 7.938 kB / 4.594 GB, free: 71.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.446e-05/9.373, allocations: 20 kB / 4.594 GB, free: 71.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/9.373, allocations: 16 kB / 4.594 GB, free: 71.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007884/9.374, allocations: 0.7025 MB / 4.595 GB, free: 71.14 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.003275/9.377, allocations: 4.725 MB / 4.6 GB, free: 66.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/9.378, allocations: 4.027 MB / 4.604 GB, free: 61.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/9.379, allocations: 326 kB / 4.604 GB, free: 60.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/9.379, allocations: 194.2 kB / 4.604 GB, free: 60.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003417/9.379, allocations: 312.7 kB / 4.604 GB, free: 60.36 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003566/9.38, allocations: 27.69 kB / 4.604 GB, free: 60.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.575e-06/9.38, allocations: 0 / 4.604 GB, free: 60.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001127/9.381, allocations: 0.7306 MB / 4.605 GB, free: 59.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/9.381, allocations: 89.05 kB / 4.605 GB, free: 59.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009801/9.382, allocations: 1.035 MB / 4.606 GB, free: 58.44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/9.382, allocations: 37.7 kB / 4.606 GB, free: 58.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/9.382, allocations: 0.5242 MB / 4.607 GB, free: 57.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/9.382, allocations: 118.3 kB / 4.607 GB, free: 57.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/9.382, allocations: 12 kB / 4.607 GB, free: 57.74 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.744e-05/9.382, allocations: 325.9 kB / 4.607 GB, free: 57.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/9.383, allocations: 193 kB / 4.607 GB, free: 57.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/9.383, allocations: 0.5288 MB / 4.608 GB, free: 56.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/9.383, allocations: 311.4 kB / 4.608 GB, free: 56.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/9.383, allocations: 4 kB / 4.608 GB, free: 56.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001062/9.384, allocations: 0.9351 MB / 4.609 GB, free: 55.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003227/9.385, allocations: 2.218 MB / 4.611 GB, free: 52.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/9.385, allocations: 8 kB / 4.611 GB, free: 52.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004459/9.385, allocations: 232.5 kB / 4.611 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/9.385, allocations: 75.89 kB / 4.612 GB, free: 52.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007189/9.386, allocations: 0.9983 MB / 4.613 GB, free: 51.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000893/9.387, allocations: 99.8 kB / 4.613 GB, free: 51.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/9.387, allocations: 35.98 kB / 4.613 GB, free: 51.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/9.387, allocations: 4 kB / 4.613 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009857/9.388, allocations: 0.7411 MB / 4.613 GB, free: 50.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/9.388, allocations: 8 kB / 4.613 GB, free: 50.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004577/9.389, allocations: 230.2 kB / 4.614 GB, free: 50.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/9.389, allocations: 71.89 kB / 4.614 GB, free: 50.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/9.391, allocations: 2.884 MB / 4.617 GB, free: 47.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/9.392, allocations: 107.8 kB / 4.617 GB, free: 47.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/9.392, allocations: 24 kB / 4.617 GB, free: 47.22 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.000126/9.392, allocations: 153.2 kB / 4.617 GB, free: 47.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/9.393, allocations: 106.7 kB / 4.617 GB, free: 46.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/9.394, allocations: 0.7501 MB / 4.618 GB, free: 46.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/9.394, allocations: 4 kB / 4.618 GB, free: 46.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/9.394, allocations: 4 kB / 4.618 GB, free: 46.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/9.394, allocations: 3.953 kB / 4.618 GB, free: 46.19 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.002276/9.396, allocations: 2.112 MB / 4.62 GB, free: 43.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/9.396, allocations: 7.938 kB / 4.62 GB, free: 43.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/9.396, allocations: 51.91 kB / 4.62 GB, free: 43.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003178/9.396, allocations: 172.6 kB / 4.62 GB, free: 43.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/9.396, allocations: 16.25 kB / 4.62 GB, free: 43.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004736/9.397, allocations: 0.8468 MB / 4.621 GB, free: 42.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/9.397, allocations: 4 kB / 4.621 GB, free: 42.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008175/9.398, allocations: 0.9313 MB / 4.622 GB, free: 41.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/9.398, allocations: 231.7 kB / 4.622 GB, free: 41.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/9.398, allocations: 12 kB / 4.622 GB, free: 41.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/9.399, allocations: 83.75 kB / 4.622 GB, free: 41.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/9.399, allocations: 35.89 kB / 4.622 GB, free: 41.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/9.399, allocations: 8 kB / 4.622 GB, free: 41.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008187/9.4, allocations: 0.8182 MB / 4.623 GB, free: 40.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/9.4, allocations: 4 kB / 4.623 GB, free: 40.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001485/9.401, allocations: 0.6011 MB / 4.623 GB, free: 39.98 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.002099/9.404, allocations: 2.91 MB / 4.626 GB, free: 36.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001377/9.405, allocations: 1.113 MB / 4.627 GB, free: 35.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/9.405, allocations: 0 / 4.627 GB, free: 35.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003046/9.405, allocations: 232.7 kB / 4.628 GB, free: 35.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/9.408, allocations: 0.645 MB / 4.628 GB, free: 34.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/9.411, allocations: 1.771 MB / 4.63 GB, free: 33.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/9.411, allocations: 1.239 MB / 4.631 GB, free: 31.87 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001867/9.413, allocations: 0.8084 MB / 4.632 GB, free: 31.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/9.414, allocations: 339.3 kB / 4.632 GB, free: 30.72 MB / 0.698 GB Notification: Performance of SimCode: time 6.82e-07/9.414, allocations: 4 kB / 4.632 GB, free: 30.72 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3855/9.799, allocations: 51.61 MB / 4.683 GB, free: 170.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/9.799, allocations: 263.8 kB / 4.683 GB, free: 170.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.187/12.99, allocations: 0 / 4.683 GB, free: 170.2 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)