Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001133/0.001133, allocations: 176.8 kB / 366.7 MB, free: 1.691 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.519/1.519, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008679/0.0008678, allocations: 91.7 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.01e-05/2.013e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7548/0.7549, allocations: 116.3 MB / 0.9733 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.883/5.638, allocations: 2.064 GB / 3.037 GB, free: 20.04 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/5.638, allocations: 91.02 kB / 3.037 GB, free: 19.99 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.493/12.13, allocations: 1.77 GB / 4.808 GB, free: 82.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.783e-06/12.13, allocations: 0 / 4.808 GB, free: 82.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.897e-05/12.13, allocations: 31.98 kB / 4.808 GB, free: 82.87 MB / 0.948 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.003174/12.13, allocations: 1.236 MB / 4.809 GB, free: 81.58 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/12.13, allocations: 11.97 kB / 4.809 GB, free: 81.57 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008115/12.14, allocations: 190.5 kB / 4.809 GB, free: 81.38 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/12.14, allocations: 1.378 MB / 4.81 GB, free: 79.95 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/12.14, allocations: 16 kB / 4.81 GB, free: 79.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/12.14, allocations: 40 kB / 4.81 GB, free: 79.89 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006551/12.14, allocations: 494.3 kB / 4.811 GB, free: 79.41 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008184/12.14, allocations: 0.7001 MB / 4.812 GB, free: 78.64 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/12.14, allocations: 3.938 kB / 4.812 GB, free: 78.63 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/12.14, allocations: 7.953 kB / 4.812 GB, free: 78.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/12.14, allocations: 12 kB / 4.812 GB, free: 78.61 MB / 0.948 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.002924/12.14, allocations: 4.091 MB / 4.816 GB, free: 74.27 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/12.14, allocations: 454.4 kB / 4.816 GB, free: 73.81 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/12.14, allocations: 332 kB / 4.816 GB, free: 73.48 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/12.14, allocations: 198.2 kB / 4.816 GB, free: 73.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/12.14, allocations: 286.9 kB / 4.817 GB, free: 72.95 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002024/12.14, allocations: 11.84 kB / 4.817 GB, free: 72.94 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 3.576e-06/12.14, allocations: 112 / 4.817 GB, free: 72.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001529/12.15, allocations: 0.8018 MB / 4.818 GB, free: 72.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/12.15, allocations: 85.09 kB / 4.818 GB, free: 72.02 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008052/12.15, allocations: 0.8479 MB / 4.818 GB, free: 71.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/12.15, allocations: 29.7 kB / 4.819 GB, free: 71.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/12.15, allocations: 496.1 kB / 4.819 GB, free: 70.63 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/12.15, allocations: 106.4 kB / 4.819 GB, free: 70.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/12.15, allocations: 0 / 4.819 GB, free: 70.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.844e-05/12.15, allocations: 330 kB / 4.819 GB, free: 70.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/12.15, allocations: 197 kB / 4.82 GB, free: 70 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/12.15, allocations: 0.5128 MB / 4.82 GB, free: 69.35 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/12.15, allocations: 283 kB / 4.82 GB, free: 69.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/12.15, allocations: 0 / 4.82 GB, free: 69.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001408/12.15, allocations: 0.9356 MB / 4.821 GB, free: 68.13 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000531/12.15, allocations: 2.131 MB / 4.823 GB, free: 65.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/12.15, allocations: 8 kB / 4.823 GB, free: 65.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004608/12.15, allocations: 247.4 kB / 4.824 GB, free: 65.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/12.15, allocations: 63.91 kB / 4.824 GB, free: 65.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008812/12.15, allocations: 1.138 MB / 4.825 GB, free: 64.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/12.15, allocations: 79.81 kB / 4.825 GB, free: 64.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.885e-05/12.15, allocations: 31.98 kB / 4.825 GB, free: 64.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/12.15, allocations: 4.938 kB / 4.825 GB, free: 64.24 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009722/12.15, allocations: 0.6331 MB / 4.825 GB, free: 63.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/12.15, allocations: 8 kB / 4.825 GB, free: 63.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004926/12.15, allocations: 229.5 kB / 4.826 GB, free: 63.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/12.15, allocations: 64.78 kB / 4.826 GB, free: 63.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002694/12.16, allocations: 2.898 MB / 4.829 GB, free: 60.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007142/12.16, allocations: 79.81 kB / 4.829 GB, free: 60.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/12.16, allocations: 23.98 kB / 4.829 GB, free: 60.2 MB / 0.948 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.0001309/12.16, allocations: 132.7 kB / 4.829 GB, free: 60.06 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008222/12.16, allocations: 0.6491 MB / 4.829 GB, free: 59.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/12.16, allocations: 98.8 kB / 4.83 GB, free: 59.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009467/12.16, allocations: 0.6994 MB / 4.83 GB, free: 58.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/12.16, allocations: 7.938 kB / 4.83 GB, free: 58.58 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/12.16, allocations: 3.984 kB / 4.83 GB, free: 58.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/12.16, allocations: 7.938 kB / 4.83 GB, free: 58.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/12.16, allocations: 1.584 MB / 4.832 GB, free: 56.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/12.16, allocations: 3.984 kB / 4.832 GB, free: 56.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/12.16, allocations: 39.86 kB / 4.832 GB, free: 56.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003076/12.16, allocations: 200.9 kB / 4.832 GB, free: 56.67 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/12.16, allocations: 4 kB / 4.832 GB, free: 56.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006606/12.16, allocations: 1.014 MB / 4.833 GB, free: 55.63 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/12.16, allocations: 3.938 kB / 4.833 GB, free: 55.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008643/12.16, allocations: 0.9072 MB / 4.834 GB, free: 54.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/12.16, allocations: 215.9 kB / 4.834 GB, free: 54.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.705e-05/12.16, allocations: 0 / 4.834 GB, free: 54.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005884/12.17, allocations: 63.77 kB / 4.834 GB, free: 54.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/12.17, allocations: 35.89 kB / 4.834 GB, free: 54.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/12.17, allocations: 12 kB / 4.834 GB, free: 54.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006769/12.17, allocations: 0.6611 MB / 4.835 GB, free: 53.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/12.17, allocations: 0 / 4.835 GB, free: 53.62 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001463/12.17, allocations: 0.515 MB / 4.835 GB, free: 53.11 MB / 0.948 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.002161/12.17, allocations: 2.765 MB / 4.838 GB, free: 50.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001414/12.17, allocations: 1.033 MB / 4.839 GB, free: 49.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/12.17, allocations: 0 / 4.839 GB, free: 49.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003058/12.17, allocations: 214.6 kB / 4.839 GB, free: 49 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/12.17, allocations: 0.5342 MB / 4.84 GB, free: 48.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/12.18, allocations: 1.623 MB / 4.841 GB, free: 46.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/12.18, allocations: 1.206 MB / 4.843 GB, free: 45.54 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001607/12.18, allocations: 0.6669 MB / 4.843 GB, free: 44.86 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/12.18, allocations: 303.3 kB / 4.844 GB, free: 44.57 MB / 0.948 GB Notification: Performance of SimCode: time 9.22e-07/12.18, allocations: 0 / 4.844 GB, free: 44.57 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05936/12.24, allocations: 33.61 MB / 4.876 GB, free: 11.09 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/12.24, allocations: 188.9 kB / 4.877 GB, free: 10.89 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.106/15.34, allocations: 0 / 4.877 GB, free: 10.89 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)