Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8483/0.8483, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 184.9 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008181/0.0008182, allocations: 96.03 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 277.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.878e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.423, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.451/4.875, allocations: 1.829 GB / 2.586 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/4.875, allocations: 100.3 kB / 2.586 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.224/11.1, allocations: 1.784 GB / 4.37 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.425e-06/11.1, allocations: 0 / 4.37 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001193/11.1, allocations: 31.75 kB / 4.37 GB, free: 122.2 MB / 0.6823 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.003922/11.1, allocations: 1.222 MB / 4.372 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/11.1, allocations: 8.031 kB / 4.372 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/11.1, allocations: 186.4 kB / 4.372 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/11.11, allocations: 1.386 MB / 4.373 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/11.11, allocations: 16 kB / 4.373 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.315e-05/11.11, allocations: 36 kB / 4.373 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006721/11.11, allocations: 498.3 kB / 4.374 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007963/11.11, allocations: 0.7022 MB / 4.374 GB, free: 118 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/11.11, allocations: 0 / 4.374 GB, free: 118 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/11.11, allocations: 15.91 kB / 4.374 GB, free: 118 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/11.11, allocations: 12 kB / 4.374 GB, free: 118 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.00302/11.11, allocations: 4.077 MB / 4.378 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/11.11, allocations: 466.2 kB / 4.379 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/11.11, allocations: 333.2 kB / 4.379 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000274/11.11, allocations: 191.8 kB / 4.379 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/11.11, allocations: 286.9 kB / 4.38 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002619/11.11, allocations: 11.84 kB / 4.38 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/11.11, allocations: 0 / 4.38 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001562/11.11, allocations: 0.8029 MB / 4.38 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/11.11, allocations: 81.11 kB / 4.38 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000805/11.12, allocations: 0.852 MB / 4.381 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/11.12, allocations: 29.64 kB / 4.381 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/11.12, allocations: 492.1 kB / 4.382 GB, free: 110 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/11.12, allocations: 110.5 kB / 4.382 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/11.12, allocations: 0 / 4.382 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.266e-05/11.12, allocations: 326 kB / 4.382 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/11.12, allocations: 201 kB / 4.382 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/11.12, allocations: 0.5056 MB / 4.383 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/11.12, allocations: 290.3 kB / 4.383 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/11.12, allocations: 0 / 4.383 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001377/11.12, allocations: 0.9418 MB / 4.384 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004128/11.12, allocations: 2.132 MB / 4.386 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/11.12, allocations: 4 kB / 4.386 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004307/11.12, allocations: 247 kB / 4.386 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/11.12, allocations: 63.89 kB / 4.386 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008843/11.12, allocations: 1.145 MB / 4.388 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000853/11.12, allocations: 79.83 kB / 4.388 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/11.12, allocations: 28 kB / 4.388 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/11.12, allocations: 4 kB / 4.388 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009753/11.12, allocations: 0.6371 MB / 4.388 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/11.12, allocations: 8 kB / 4.388 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005179/11.12, allocations: 223 kB / 4.388 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/11.12, allocations: 71.92 kB / 4.389 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/11.13, allocations: 2.89 MB / 4.391 GB, free: 99.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008714/11.13, allocations: 75.81 kB / 4.391 GB, free: 99.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/11.13, allocations: 24 kB / 4.391 GB, free: 99.6 MB / 0.6823 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 () * 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.0001493/11.13, allocations: 126.9 kB / 4.392 GB, free: 99.47 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/11.13, allocations: 102.8 kB / 4.392 GB, free: 99.37 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/11.13, allocations: 0.6944 MB / 4.392 GB, free: 98.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/11.13, allocations: 4 kB / 4.392 GB, free: 98.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/11.13, allocations: 4 kB / 4.392 GB, free: 98.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/11.13, allocations: 3.984 kB / 4.392 GB, free: 98.65 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/11.13, allocations: 1.592 MB / 4.394 GB, free: 97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/11.13, allocations: 11.94 kB / 4.394 GB, free: 96.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/11.13, allocations: 23.98 kB / 4.394 GB, free: 96.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003086/11.13, allocations: 201 kB / 4.394 GB, free: 96.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/11.13, allocations: 4 kB / 4.394 GB, free: 96.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006535/11.13, allocations: 1.019 MB / 4.395 GB, free: 95.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/11.13, allocations: 3.938 kB / 4.395 GB, free: 95.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008399/11.13, allocations: 0.9069 MB / 4.396 GB, free: 94.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/11.13, allocations: 219.9 kB / 4.396 GB, free: 94.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/11.13, allocations: 11.89 kB / 4.396 GB, free: 94.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005952/11.13, allocations: 63.77 kB / 4.396 GB, free: 94.42 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/11.13, allocations: 27.95 kB / 4.396 GB, free: 94.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/11.13, allocations: 8 kB / 4.396 GB, free: 94.39 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006556/11.13, allocations: 0.6689 MB / 4.397 GB, free: 93.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/11.13, allocations: 0 / 4.397 GB, free: 93.71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001449/11.14, allocations: 0.514 MB / 4.398 GB, free: 93.2 MB / 0.6823 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) * 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.001169/11.14, allocations: 1.023 MB / 4.399 GB, free: 92.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001313/11.14, allocations: 1.041 MB / 4.4 GB, free: 91.21 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/11.14, allocations: 3.938 kB / 4.4 GB, free: 91.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000305/11.14, allocations: 222.5 kB / 4.4 GB, free: 90.99 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/11.14, allocations: 0.5379 MB / 4.4 GB, free: 90.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/11.14, allocations: 1.345 MB / 4.402 GB, free: 89.05 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/11.14, allocations: 1.214 MB / 4.403 GB, free: 87.81 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001541/11.14, allocations: 0.6708 MB / 4.403 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/11.14, allocations: 43.44 kB / 4.403 GB, free: 87.09 MB / 0.6823 GB Notification: Performance of SimCode: time 7.11e-07/11.14, allocations: 0 / 4.403 GB, free: 87.09 MB / 0.6823 GB Notification: Performance of Templates: time 0.03092/11.18, allocations: 23.43 MB / 4.426 GB, free: 63.88 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)