Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.292/3.292, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001755/0.001754, allocations: 179.6 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.204/2.204, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001171, allocations: 102 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000641/0.0006411, allocations: 12.38 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.22, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 1.081/1.301, allocations: 140.5 MB / 1.115 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005084/1.306, allocations: 2.137 MB / 1.118 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006064/1.307, allocations: 15.12 kB / 1.118 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/1.308, allocations: 238.6 kB / 1.118 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003099/1.311, allocations: 0.6842 MB / 1.118 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002238/1.314, allocations: 445.3 kB / 1.119 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003395/1.317, allocations: 1.643 MB / 1.121 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004472/1.322, allocations: 2.314 MB / 1.123 GB, free: 372 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/1.324, allocations: 0.8517 MB / 1.124 GB, free: 232 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/1.325, allocations: 0.6109 MB / 1.124 GB, free: 104 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/1.326, allocations: 49.25 kB / 1.124 GB, free: 104 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/1.328, allocations: 0.6208 MB / 1.125 GB, free: 88 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000444/1.328, allocations: 303.9 kB / 1.125 GB, free: 48 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004971/1.329, allocations: 248 kB / 1.125 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/1.331, allocations: 1.167 MB / 1.127 GB, free: 15.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.331, allocations: 1.859 kB / 1.127 GB, free: 15.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.305e-06/1.331, allocations: 0 / 1.127 GB, free: 15.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.196e-05/1.331, allocations: 6.781 kB / 1.127 GB, free: 15.87 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.004523/1.336, allocations: 1.517 MB / 1.128 GB, free: 15.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/1.336, allocations: 8.312 kB / 1.128 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002579/1.336, allocations: 99.98 kB / 1.128 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/1.337, allocations: 205.6 kB / 1.128 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/1.34, allocations: 0.858 MB / 1.129 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/1.34, allocations: 57.25 kB / 1.129 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/1.34, allocations: 62.97 kB / 1.129 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/1.342, allocations: 0.9859 MB / 1.13 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/1.343, allocations: 0 / 1.13 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-05/1.343, allocations: 23 kB / 1.13 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/1.343, allocations: 14.84 kB / 1.13 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/1.345, allocations: 0.8112 MB / 1.131 GB, free: 14.3 MB / 0.698 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.007697/1.352, allocations: 4.808 MB / 1.136 GB, free: 10.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/1.356, allocations: 4.024 MB / 1.14 GB, free: 6.266 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/1.357, allocations: 17.22 kB / 1.14 GB, free: 6.262 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009235/1.357, allocations: 345 kB / 1.14 GB, free: 6.098 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006319/1.358, allocations: 30.5 kB / 1.14 GB, free: 6.082 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 3.556e-06/1.358, allocations: 1.344 kB / 1.14 GB, free: 6.082 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.008604/1.367, allocations: 1.598 MB / 1.142 GB, free: 5.395 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/1.367, allocations: 107.4 kB / 1.142 GB, free: 5.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/1.369, allocations: 1.172 MB / 1.143 GB, free: 4.902 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001627/1.37, allocations: 45.58 kB / 1.143 GB, free: 4.867 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006393/1.37, allocations: 0.5109 MB / 1.143 GB, free: 4.645 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/1.371, allocations: 126.1 kB / 1.144 GB, free: 4.559 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/1.371, allocations: 8.125 kB / 1.144 GB, free: 4.559 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.371, allocations: 325.7 kB / 1.144 GB, free: 4.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006929/1.371, allocations: 207.5 kB / 1.144 GB, free: 4.203 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/1.372, allocations: 0.5331 MB / 1.145 GB, free: 3.762 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008105/1.373, allocations: 320.7 kB / 1.145 GB, free: 3.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.415e-06/1.373, allocations: 2.188 kB / 1.145 GB, free: 3.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003951/1.377, allocations: 1.043 MB / 1.146 GB, free: 3.266 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001038/1.378, allocations: 2.135 MB / 1.148 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/1.378, allocations: 6 kB / 1.148 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002216/1.381, allocations: 336.4 kB / 1.148 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/1.381, allocations: 104.8 kB / 1.148 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/1.383, allocations: 1.001 MB / 1.149 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/1.385, allocations: 96.53 kB / 1.149 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-05/1.385, allocations: 26.86 kB / 1.149 GB, free: 220 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.385, allocations: 3.781 kB / 1.149 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002528/1.388, allocations: 0.7981 MB / 1.15 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.388, allocations: 9.5 kB / 1.15 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009962/1.389, allocations: 229.8 kB / 1.15 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/1.39, allocations: 104.9 kB / 1.151 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005856/1.395, allocations: 3.005 MB / 1.154 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.397, allocations: 100.5 kB / 1.154 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.29e-05/1.397, allocations: 21.72 kB / 1.154 GB, free: 14.04 MB / 0.7136 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 (38): * Single equations (assignments): 36 * 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.00098/1.398, allocations: 480.3 kB / 1.154 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/1.399, allocations: 105.9 kB / 1.154 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/1.401, allocations: 0.7826 MB / 1.155 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/1.401, allocations: 4.969 kB / 1.155 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.401, allocations: 0 / 1.155 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/1.401, allocations: 1.312 kB / 1.155 GB, free: 13.45 MB / 0.7136 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 postOpt removeSimpleEquations (simulation): time 0.005223/1.406, allocations: 2.182 MB / 1.157 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.406, allocations: 1.438 kB / 1.157 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/1.407, allocations: 83.5 kB / 1.157 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007296/1.408, allocations: 183.2 kB / 1.157 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/1.408, allocations: 11.44 kB / 1.157 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/1.409, allocations: 0.858 MB / 1.158 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.409, allocations: 2.062 kB / 1.158 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/1.411, allocations: 0.9427 MB / 1.159 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007437/1.412, allocations: 233.1 kB / 1.159 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/1.412, allocations: 9.656 kB / 1.159 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.414, allocations: 79.53 kB / 1.159 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.414, allocations: 36.52 kB / 1.159 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/1.414, allocations: 12.41 kB / 1.159 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001898/1.416, allocations: 0.8273 MB / 1.16 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.416, allocations: 0 / 1.16 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002552/1.418, allocations: 0.5054 MB / 1.161 GB, free: 10.45 MB / 0.7136 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 (25): * Single equations (assignments): 22 * 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.002906/1.421, allocations: 1.995 MB / 1.163 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003269/1.425, allocations: 1.127 MB / 1.164 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.425, allocations: 6.875 kB / 1.164 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007589/1.425, allocations: 242.2 kB / 1.164 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006057/1.432, allocations: 0.6432 MB / 1.165 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/1.454, allocations: 10.32 MB / 1.175 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/1.455, allocations: 1.24 MB / 1.176 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001963/1.457, allocations: 357.5 kB / 1.176 GB, free: 400 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006518/1.458, allocations: 361.6 kB / 1.177 GB, free: 360 kB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/1.458, allocations: 0 / 1.177 GB, free: 360 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/1.559, allocations: 31.3 MB / 1.207 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005091/1.559, allocations: 288.7 kB / 1.208 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.635/5.194, allocations: 0 / 1.208 GB, free: 5.895 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)