Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json 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/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009143/0.0009144, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009337/0.0009337, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.558/2.558, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003785, allocations: 8 kB / 0.8378 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7952/0.7956, allocations: 146.8 MB / 0.9811 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.162/0.9576, allocations: 146.8 MB / 1.124 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003513/0.9612, allocations: 1.655 MB / 1.126 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005808/0.9618, allocations: 7.938 kB / 1.126 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006937/0.9625, allocations: 111.2 kB / 1.126 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.9644, allocations: 394.1 kB / 1.127 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.9656, allocations: 336.9 kB / 1.127 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003582/0.9692, allocations: 3.003 MB / 1.13 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003125/0.9724, allocations: 2.141 MB / 1.132 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.9745, allocations: 0.8715 MB / 1.133 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.9759, allocations: 0.7001 MB / 1.133 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002414/0.9762, allocations: 36 kB / 1.133 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.978, allocations: 0.5574 MB / 1.134 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004832/0.9785, allocations: 282.9 kB / 1.134 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006238/0.9791, allocations: 229.1 kB / 1.135 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.9808, allocations: 1.033 MB / 1.136 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.9808, allocations: 0 / 1.136 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.177e-06/0.9808, allocations: 0 / 1.136 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.989e-05/0.9809, allocations: 3.828 kB / 1.136 GB, free: 7.766 MB / 0.8887 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.002959/0.9838, allocations: 1.327 MB / 1.137 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.9839, allocations: 15.98 kB / 1.137 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002212/0.9841, allocations: 102.5 kB / 1.137 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009707/0.9851, allocations: 182.4 kB / 1.137 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.9869, allocations: 0.804 MB / 1.138 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/0.987, allocations: 41 kB / 1.138 GB, free: 5.172 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.9871, allocations: 68 kB / 1.138 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.9884, allocations: 0.8278 MB / 1.139 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.9885, allocations: 7.938 kB / 1.139 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.9885, allocations: 24 kB / 1.139 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.9886, allocations: 15.95 kB / 1.139 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.9896, allocations: 0.5696 MB / 1.139 GB, free: 3.586 MB / 0.8887 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.004612/0.9942, allocations: 4.258 MB / 1.144 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/0.995, allocations: 446.2 kB / 1.144 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004835/0.9955, allocations: 349.1 kB / 1.144 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003089/0.9958, allocations: 190.2 kB / 1.144 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005298/0.9964, allocations: 327 kB / 1.145 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004228/0.9968, allocations: 39.67 kB / 1.145 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/0.9968, allocations: 0 / 1.145 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.004767/1.002, allocations: 1.692 MB / 1.146 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/1.002, allocations: 89.09 kB / 1.147 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/1.003, allocations: 1.143 MB / 1.148 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.089e-05/1.003, allocations: 33.7 kB / 1.148 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004776/1.004, allocations: 488.5 kB / 1.148 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/1.004, allocations: 114.4 kB / 1.148 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/1.004, allocations: 12 kB / 1.148 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.004, allocations: 326 kB / 1.149 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/1.005, allocations: 209 kB / 1.149 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006363/1.005, allocations: 0.5228 MB / 1.149 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005313/1.006, allocations: 314.6 kB / 1.15 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/1.006, allocations: 0 / 1.15 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002176/1.008, allocations: 1.05 MB / 1.151 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002175/1.008, allocations: 284.8 kB / 1.151 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/1.008, allocations: 8 kB / 1.151 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/1.009, allocations: 341.1 kB / 1.151 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/1.01, allocations: 111.8 kB / 1.151 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/1.011, allocations: 1.051 MB / 1.152 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009922/1.012, allocations: 87.81 kB / 1.152 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/1.012, allocations: 27.98 kB / 1.153 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.012, allocations: 4 kB / 1.153 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001416/1.014, allocations: 0.7907 MB / 1.153 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.014, allocations: 8 kB / 1.153 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/1.014, allocations: 244.8 kB / 1.154 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/1.015, allocations: 95.88 kB / 1.154 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/1.019, allocations: 3.043 MB / 1.157 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/1.02, allocations: 91.86 kB / 1.157 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/1.02, allocations: 23.94 kB / 1.157 GB, free: 1.031 MB / 0.9044 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.0008973/1.021, allocations: 464.7 kB / 1.157 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/1.021, allocations: 110.6 kB / 1.157 GB, free: 468 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/1.023, allocations: 0.7852 MB / 1.158 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/1.023, allocations: 4.188 kB / 1.158 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/1.023, allocations: 0 / 1.158 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/1.023, allocations: 7.969 kB / 1.158 GB, free: 15.65 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/1.026, allocations: 1.745 MB / 1.16 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.026, allocations: 0 / 1.16 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/1.026, allocations: 60.16 kB / 1.16 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005239/1.027, allocations: 240.6 kB / 1.16 GB, free: 13.53 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/1.027, allocations: 8 kB / 1.16 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/1.028, allocations: 1.016 MB / 1.161 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.028, allocations: 0 / 1.161 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/1.029, allocations: 0.8973 MB / 1.162 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006636/1.03, allocations: 227.7 kB / 1.162 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/1.03, allocations: 15.94 kB / 1.162 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007807/1.031, allocations: 67.8 kB / 1.162 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/1.031, allocations: 27.95 kB / 1.162 GB, free: 11.19 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/1.031, allocations: 8 kB / 1.162 GB, free: 11.18 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001306/1.033, allocations: 0.8235 MB / 1.163 GB, free: 10.35 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.033, allocations: 0 / 1.163 GB, free: 10.35 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001687/1.034, allocations: 475.4 kB / 1.163 GB, free: 9.887 MB / 0.92 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.00195/1.036, allocations: 1.432 MB / 1.165 GB, free: 8.414 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002305/1.039, allocations: 1.125 MB / 1.166 GB, free: 7.25 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.039, allocations: 0 / 1.166 GB, free: 7.25 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005227/1.039, allocations: 263 kB / 1.166 GB, free: 6.992 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003304/1.042, allocations: 0.6441 MB / 1.167 GB, free: 6.355 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/1.057, allocations: 6.793 MB / 1.173 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008793/1.058, allocations: 1.181 MB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001256/1.059, allocations: 344.1 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004953/1.06, allocations: 323.3 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of SimCode: time 1.222e-06/1.06, allocations: 0 / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05495/1.115, allocations: 30.7 MB / 1.205 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/1.115, allocations: 294.2 kB / 1.206 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/3.542, allocations: 0 / 1.206 GB, free: 14.79 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat does not exist to compare? outputFormat=mat