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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.0009992, allocations: 98.69 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.0011/0.0011, allocations: 177.3 kB / 15.94 MB, free: 220 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.32/1.32, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.526/2.526, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003265, allocations: 8 kB / 0.8708 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6175/0.6178, allocations: 153.7 MB / 1.021 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.142/0.7599, allocations: 135.7 MB / 1.153 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003135/0.763, allocations: 1.69 MB / 1.155 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004051/0.7635, allocations: 11.88 kB / 1.155 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006985/0.7642, allocations: 179.2 kB / 1.155 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.7657, allocations: 0.5024 MB / 1.156 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.7668, allocations: 397.4 kB / 1.156 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00204/0.7689, allocations: 1.51 MB / 1.158 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.7714, allocations: 2.192 MB / 1.16 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.7726, allocations: 0.7006 MB / 1.16 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005803/0.7732, allocations: 497.8 kB / 1.161 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.047e-05/0.7733, allocations: 36 kB / 1.161 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.7743, allocations: 411.4 kB / 1.161 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.7746, allocations: 259 kB / 1.161 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.7748, allocations: 229.1 kB / 1.162 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009825/0.7758, allocations: 0.9821 MB / 1.163 GB, free: 15.52 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.7758, allocations: 0 / 1.163 GB, free: 15.52 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7758, allocations: 0 / 1.163 GB, free: 15.52 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.7759, allocations: 0 / 1.163 GB, free: 15.52 MB / 0.92 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.002156/0.778, allocations: 1.323 MB / 1.164 GB, free: 14.13 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.7781, allocations: 8.031 kB / 1.164 GB, free: 14.12 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007541/0.7788, allocations: 186.4 kB / 1.164 GB, free: 13.94 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.7804, allocations: 0.7963 MB / 1.165 GB, free: 13.09 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.7804, allocations: 49 kB / 1.165 GB, free: 13.04 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.695e-05/0.7805, allocations: 56 kB / 1.165 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.7817, allocations: 0.8315 MB / 1.166 GB, free: 12.08 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.7817, allocations: 4 kB / 1.166 GB, free: 12.07 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.7818, allocations: 23.95 kB / 1.166 GB, free: 12.05 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.7818, allocations: 12 kB / 1.166 GB, free: 12.04 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009417/0.7827, allocations: 0.5774 MB / 1.166 GB, free: 11.46 MB / 0.92 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.004059/0.7868, allocations: 4.239 MB / 1.171 GB, free: 6.957 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008026/0.7876, allocations: 466.8 kB / 1.171 GB, free: 6.492 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.62e-05/0.7877, allocations: 15.92 kB / 1.171 GB, free: 6.477 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005507/0.7883, allocations: 331.9 kB / 1.171 GB, free: 6.129 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003246/0.7886, allocations: 35.58 kB / 1.171 GB, free: 6.094 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 3.537e-06/0.7886, allocations: 0 / 1.171 GB, free: 6.094 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.005059/0.7937, allocations: 1.679 MB / 1.173 GB, free: 4.387 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.026e-05/0.7938, allocations: 106.8 kB / 1.173 GB, free: 4.258 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.7956, allocations: 1.147 MB / 1.174 GB, free: 3.094 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.26e-05/0.7957, allocations: 37.7 kB / 1.174 GB, free: 3.051 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004743/0.7961, allocations: 488.4 kB / 1.175 GB, free: 2.57 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.7963, allocations: 118.4 kB / 1.175 GB, free: 2.453 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.7963, allocations: 8 kB / 1.175 GB, free: 2.445 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7964, allocations: 326 kB / 1.175 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.7968, allocations: 205 kB / 1.175 GB, free: 1.918 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/0.7975, allocations: 0.5189 MB / 1.176 GB, free: 1.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/0.798, allocations: 317.7 kB / 1.176 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.798, allocations: 0 / 1.176 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002183/0.8002, allocations: 1.053 MB / 1.177 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007487/0.8009, allocations: 2.129 MB / 1.179 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.8009, allocations: 8 kB / 1.179 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.8022, allocations: 343.8 kB / 1.18 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.8026, allocations: 103.8 kB / 1.18 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.8038, allocations: 1.044 MB / 1.181 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.8049, allocations: 87.81 kB / 1.181 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.805, allocations: 27.98 kB / 1.181 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.805, allocations: 4 kB / 1.181 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001392/0.8064, allocations: 0.7954 MB / 1.182 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.8064, allocations: 8.094 kB / 1.182 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005828/0.807, allocations: 244.6 kB / 1.182 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.8074, allocations: 99.88 kB / 1.182 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003729/0.8111, allocations: 3.112 MB / 1.185 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009936/0.8121, allocations: 91.81 kB / 1.185 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/0.8122, allocations: 27.98 kB / 1.185 GB, free: 7.438 MB / 0.9356 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.0005951/0.8128, allocations: 462 kB / 1.186 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.8129, allocations: 102.7 kB / 1.186 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.8142, allocations: 0.7646 MB / 1.186 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.8143, allocations: 4 kB / 1.186 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8143, allocations: 0 / 1.186 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.8143, allocations: 11.92 kB / 1.186 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.8158, allocations: 1.162 MB / 1.188 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8159, allocations: 0 / 1.188 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.8161, allocations: 68.09 kB / 1.188 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005157/0.8167, allocations: 240.5 kB / 1.188 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.8167, allocations: 12 kB / 1.188 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008767/0.8176, allocations: 1.011 MB / 1.189 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.8176, allocations: 4.031 kB / 1.189 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.819, allocations: 0.9086 MB / 1.19 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004777/0.8195, allocations: 231.8 kB / 1.19 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.8196, allocations: 8 kB / 1.19 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006372/0.8203, allocations: 67.77 kB / 1.19 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.261e-05/0.8204, allocations: 39.84 kB / 1.19 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.8204, allocations: 12 kB / 1.19 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0011/0.8215, allocations: 0.808 MB / 1.191 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8215, allocations: 0 / 1.191 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001331/0.8228, allocations: 479.4 kB / 1.191 GB, free: 0.8477 MB / 0.9356 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.0004179/0.8233, allocations: 176.8 kB / 1.192 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.8254, allocations: 1.141 MB / 1.193 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.8254, allocations: 0 / 1.193 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.8259, allocations: 259 kB / 1.193 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/0.829, allocations: 0.6254 MB / 1.193 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.832, allocations: 1.979 MB / 1.195 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008748/0.8328, allocations: 1.212 MB / 1.197 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009897/0.8338, allocations: 344.1 kB / 1.197 GB, free: 11 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.834, allocations: 59.44 kB / 1.197 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of SimCode: time 7.62e-07/0.834, allocations: 0 / 1.197 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of Templates: time 0.03488/0.8689, allocations: 20.71 MB / 1.217 GB, free: 6.469 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (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 & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches