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.00117/0.00117, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001347/0.001348, allocations: 177.3 kB / 15.94 MB, free: 228 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.516/1.516, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.747/2.747, allocations: 409.2 MB / 0.6838 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 8 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7813/0.7817, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1521/0.9338, allocations: 135.7 MB / 1.113 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003554/0.9374, allocations: 1.688 MB / 1.115 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.9379, allocations: 11.88 kB / 1.115 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007273/0.9386, allocations: 179.2 kB / 1.115 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.9405, allocations: 0.4986 MB / 1.116 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.9418, allocations: 413 kB / 1.116 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002004/0.9439, allocations: 1.502 MB / 1.118 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002637/0.9465, allocations: 2.192 MB / 1.12 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.9476, allocations: 0.6929 MB / 1.12 GB, free: 7.062 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005551/0.9481, allocations: 481.9 kB / 1.121 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.302e-05/0.9482, allocations: 39.94 kB / 1.121 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009075/0.9491, allocations: 419.4 kB / 1.121 GB, free: 6.141 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.9494, allocations: 259.1 kB / 1.122 GB, free: 5.887 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.9496, allocations: 233.1 kB / 1.122 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.9506, allocations: 0.9937 MB / 1.123 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.9506, allocations: 0 / 1.123 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9506, allocations: 0 / 1.123 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.9507, allocations: 0 / 1.123 GB, free: 4.656 MB / 0.8731 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.002071/0.9527, allocations: 1.311 MB / 1.124 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.9528, allocations: 11.98 kB / 1.124 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.9529, allocations: 98.47 kB / 1.124 GB, free: 3.164 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006823/0.9536, allocations: 186.4 kB / 1.124 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.955, allocations: 0.804 MB / 1.125 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.9551, allocations: 45 kB / 1.125 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.091e-05/0.9552, allocations: 59.94 kB / 1.125 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.9563, allocations: 0.8239 MB / 1.126 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.9563, allocations: 0 / 1.126 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.9564, allocations: 20 kB / 1.126 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.9564, allocations: 15.95 kB / 1.126 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000904/0.9573, allocations: 0.5735 MB / 1.127 GB, free: 0.5117 MB / 0.8731 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.003922/0.9612, allocations: 4.258 MB / 1.131 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007301/0.962, allocations: 458.1 kB / 1.131 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.217e-05/0.9621, allocations: 16.09 kB / 1.131 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004935/0.9626, allocations: 331.9 kB / 1.131 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001735/0.9627, allocations: 35.59 kB / 1.132 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.9628, allocations: 0 / 1.132 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.004635/0.9674, allocations: 1.664 MB / 1.133 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.9675, allocations: 114.8 kB / 1.133 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.9688, allocations: 1.143 MB / 1.134 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.9688, allocations: 37.7 kB / 1.134 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/0.9692, allocations: 492.4 kB / 1.135 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.191e-05/0.9693, allocations: 114.4 kB / 1.135 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/0.9693, allocations: 8 kB / 1.135 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.9694, allocations: 330 kB / 1.135 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.9698, allocations: 209 kB / 1.136 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.9704, allocations: 0.515 MB / 1.136 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.9708, allocations: 317.6 kB / 1.136 GB, free: 6 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9708, allocations: 0 / 1.136 GB, free: 6 MB / 0.8887 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002067/0.9729, allocations: 1.061 MB / 1.137 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008484/0.9738, allocations: 2.126 MB / 1.139 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.9738, allocations: 8 kB / 1.139 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.975, allocations: 345 kB / 1.14 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.9754, allocations: 91.86 kB / 1.14 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.9764, allocations: 1.053 MB / 1.141 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008951/0.9773, allocations: 90.69 kB / 1.141 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.9774, allocations: 24 kB / 1.141 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/0.9774, allocations: 4 kB / 1.141 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001343/0.9787, allocations: 0.7996 MB / 1.142 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.9788, allocations: 4.625 kB / 1.142 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000577/0.9793, allocations: 251.5 kB / 1.142 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.9797, allocations: 99.8 kB / 1.142 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003819/0.9835, allocations: 3.106 MB / 1.145 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008106/0.9843, allocations: 91.77 kB / 1.145 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.9844, allocations: 27.94 kB / 1.145 GB, free: 12.48 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.0005881/0.985, allocations: 470.1 kB / 1.146 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.9851, allocations: 102.7 kB / 1.146 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.9865, allocations: 0.7607 MB / 1.147 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.9865, allocations: 7.953 kB / 1.147 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.9865, allocations: 0 / 1.147 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.9865, allocations: 4 kB / 1.147 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.988, allocations: 1.166 MB / 1.148 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.988, allocations: 0 / 1.148 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.9883, allocations: 55.89 kB / 1.148 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004938/0.9888, allocations: 252.7 kB / 1.148 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.9888, allocations: 8 kB / 1.148 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009173/0.9897, allocations: 1.008 MB / 1.149 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.9898, allocations: 11.95 kB / 1.149 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.991, allocations: 0.9164 MB / 1.15 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/0.9914, allocations: 219.8 kB / 1.15 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.9915, allocations: 12 kB / 1.15 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/0.9921, allocations: 67.77 kB / 1.15 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.9922, allocations: 39.89 kB / 1.15 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.9923, allocations: 8 kB / 1.15 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000922/0.9932, allocations: 0.8157 MB / 1.151 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9932, allocations: 0 / 1.151 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001154/0.9943, allocations: 471.4 kB / 1.151 GB, free: 5.887 MB / 0.9044 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.001839/0.9962, allocations: 1.928 MB / 1.153 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.9982, allocations: 1.125 MB / 1.154 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9982, allocations: 0 / 1.154 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004993/0.9987, allocations: 262.3 kB / 1.155 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/1.002, allocations: 0.6196 MB / 1.155 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.014, allocations: 10.13 MB / 1.165 GB, free: 7.391 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006838/1.014, allocations: 1.201 MB / 1.166 GB, free: 6.156 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00101/1.015, allocations: 344.1 kB / 1.167 GB, free: 5.816 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/1.016, allocations: 327.3 kB / 1.167 GB, free: 5.5 MB / 0.92 GB Notification: Performance of SimCode: time 7.51e-07/1.016, allocations: 0 / 1.167 GB, free: 5.5 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04839/1.064, allocations: 30.66 MB / 1.197 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/1.064, allocations: 286.1 kB / 1.197 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/3.773, allocations: 0.5 kB / 1.197 GB, free: 6.941 MB / 0.9512 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