Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.694/1.694, allocations: 288.4 MB / 303.3 MB, free: 8.207 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.001249/0.001249, allocations: 180.9 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0008268/0.0008269, allocations: 89.03 kB / 0.744 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004199, allocations: 12.53 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2401, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.7572/0.9973, allocations: 146.7 MB / 1.123 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003736/1.001, allocations: 1.639 MB / 1.125 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005809/1.002, allocations: 9.906 kB / 1.125 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006192/1.002, allocations: 109.3 kB / 1.125 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00161/1.004, allocations: 396.8 kB / 1.125 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/1.005, allocations: 337.1 kB / 1.125 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003979/1.009, allocations: 3.003 MB / 1.128 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003201/1.013, allocations: 2.152 MB / 1.13 GB, free: 344 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/1.015, allocations: 0.8604 MB / 1.131 GB, free: 148 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/1.017, allocations: 0.708 MB / 1.132 GB, free: 0 / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/1.017, allocations: 35.64 kB / 1.132 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/1.019, allocations: 0.5559 MB / 1.133 GB, free: 15.97 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004747/1.02, allocations: 286.2 kB / 1.133 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005811/1.02, allocations: 229 kB / 1.133 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/1.022, allocations: 1.035 MB / 1.134 GB, free: 15.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.022, allocations: 0 / 1.134 GB, free: 15.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.677e-06/1.022, allocations: 3.188 kB / 1.134 GB, free: 15.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.592e-05/1.022, allocations: 0 / 1.134 GB, free: 15.76 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002603/1.025, allocations: 1.336 MB / 1.135 GB, free: 14.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.025, allocations: 10.09 kB / 1.135 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/1.025, allocations: 98.5 kB / 1.135 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000871/1.026, allocations: 178.3 kB / 1.136 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/1.027, allocations: 0.8093 MB / 1.136 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/1.028, allocations: 40.56 kB / 1.136 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.793e-05/1.028, allocations: 62.09 kB / 1.136 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/1.029, allocations: 0.828 MB / 1.137 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/1.029, allocations: 0 / 1.137 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/1.029, allocations: 19.5 kB / 1.137 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/1.029, allocations: 15.64 kB / 1.137 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/1.03, allocations: 0.5706 MB / 1.138 GB, free: 13.74 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.005088/1.035, allocations: 4.262 MB / 1.142 GB, free: 10.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008666/1.036, allocations: 454.5 kB / 1.142 GB, free: 10.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000581/1.037, allocations: 346.1 kB / 1.143 GB, free: 10.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003559/1.037, allocations: 201.3 kB / 1.143 GB, free: 10.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007082/1.038, allocations: 320.4 kB / 1.143 GB, free: 9.875 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005832/1.038, allocations: 28.81 kB / 1.143 GB, free: 9.859 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 4.338e-06/1.038, allocations: 7.938 kB / 1.143 GB, free: 9.852 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.006072/1.045, allocations: 1.695 MB / 1.145 GB, free: 9.117 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/1.045, allocations: 80.83 kB / 1.145 GB, free: 9.023 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/1.047, allocations: 1.144 MB / 1.146 GB, free: 8.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/1.047, allocations: 43.89 kB / 1.146 GB, free: 8.625 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005824/1.048, allocations: 490.4 kB / 1.147 GB, free: 8.418 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/1.048, allocations: 109.5 kB / 1.147 GB, free: 8.344 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/1.048, allocations: 12.31 kB / 1.147 GB, free: 8.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.048, allocations: 332.2 kB / 1.147 GB, free: 8.023 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005453/1.049, allocations: 203.2 kB / 1.147 GB, free: 7.984 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007827/1.049, allocations: 0.5163 MB / 1.148 GB, free: 7.559 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005488/1.05, allocations: 331.3 kB / 1.148 GB, free: 7.445 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.05, allocations: 1.094 kB / 1.148 GB, free: 7.445 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002833/1.053, allocations: 1.044 MB / 1.149 GB, free: 7.051 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002638/1.053, allocations: 274.3 kB / 1.149 GB, free: 6.734 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/1.053, allocations: 10.05 kB / 1.149 GB, free: 6.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/1.055, allocations: 348.3 kB / 1.15 GB, free: 6.617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/1.055, allocations: 99 kB / 1.15 GB, free: 6.594 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/1.056, allocations: 1.045 MB / 1.151 GB, free: 5.949 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/1.058, allocations: 91.28 kB / 1.151 GB, free: 5.914 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/1.058, allocations: 24.44 kB / 1.151 GB, free: 5.914 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.058, allocations: 5.281 kB / 1.151 GB, free: 5.914 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001725/1.06, allocations: 0.7959 MB / 1.152 GB, free: 5.664 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.06, allocations: 4.656 kB / 1.152 GB, free: 5.664 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007014/1.06, allocations: 256.3 kB / 1.152 GB, free: 5.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/1.061, allocations: 96 kB / 1.152 GB, free: 5.566 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004219/1.065, allocations: 3.048 MB / 1.155 GB, free: 3.781 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/1.066, allocations: 91.97 kB / 1.155 GB, free: 3.742 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.099e-05/1.067, allocations: 24.59 kB / 1.155 GB, free: 3.742 MB / 0.698 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.0008802/1.067, allocations: 470.4 kB / 1.156 GB, free: 3.473 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/1.068, allocations: 103.7 kB / 1.156 GB, free: 3.418 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/1.069, allocations: 0.7866 MB / 1.157 GB, free: 3.164 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/1.069, allocations: 2.75 kB / 1.157 GB, free: 3.164 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.069, allocations: 5.375 kB / 1.157 GB, free: 3.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.069, allocations: 0 / 1.157 GB, free: 3.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/1.073, allocations: 1.738 MB / 1.158 GB, free: 2.328 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.073, allocations: 2.438 kB / 1.158 GB, free: 2.328 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/1.073, allocations: 59.33 kB / 1.158 GB, free: 2.312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000594/1.073, allocations: 252.8 kB / 1.159 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/1.074, allocations: 10.11 kB / 1.159 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/1.075, allocations: 1.005 MB / 1.16 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.075, allocations: 5.922 kB / 1.16 GB, free: 1.598 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/1.076, allocations: 0.9034 MB / 1.16 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000679/1.077, allocations: 228.9 kB / 1.161 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/1.077, allocations: 6.188 kB / 1.161 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007271/1.078, allocations: 78.5 kB / 1.161 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/1.078, allocations: 28.77 kB / 1.161 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/1.078, allocations: 10.56 kB / 1.161 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001316/1.079, allocations: 0.8084 MB / 1.162 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/1.079, allocations: 0 / 1.162 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001725/1.081, allocations: 479.9 kB / 1.162 GB, free: 0.6523 MB / 0.698 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.00194/1.083, allocations: 1.413 MB / 1.163 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002358/1.086, allocations: 1.144 MB / 1.164 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.086, allocations: 0 / 1.164 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005557/1.086, allocations: 257.7 kB / 1.165 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00362/1.09, allocations: 0.6243 MB / 1.165 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/1.104, allocations: 6.826 MB / 1.172 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007758/1.105, allocations: 1.188 MB / 1.173 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001345/1.106, allocations: 336.5 kB / 1.173 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/1.107, allocations: 329.6 kB / 1.174 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/1.107, allocations: 0 / 1.174 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05934/1.166, allocations: 30.71 MB / 1.204 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/1.167, allocations: 288 kB / 1.204 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.994/4.16, allocations: 0 / 1.204 GB, free: 15.62 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)