Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.45/2.45, allocations: 284.9 MB / 292.4 MB, free: 10.5 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.001526/0.001525, allocations: 184.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.00103/0.00103, allocations: 101.9 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.581e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9389/0.9389, allocations: 115.3 MB / 0.9634 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.851/6.79, allocations: 2.063 GB / 3.026 GB, free: 55.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/6.79, allocations: 92.31 kB / 3.026 GB, free: 55.45 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.252/16.04, allocations: 1.77 GB / 4.797 GB, free: 143.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.853e-06/16.04, allocations: 0 / 4.797 GB, free: 143.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002038/16.04, allocations: 31.98 kB / 4.797 GB, free: 143.7 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.006492/16.05, allocations: 1.219 MB / 4.798 GB, free: 142.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/16.05, allocations: 12.03 kB / 4.798 GB, free: 142.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/16.05, allocations: 186.4 kB / 4.798 GB, free: 142.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006542/16.06, allocations: 1.381 MB / 4.799 GB, free: 140.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/16.06, allocations: 22.22 kB / 4.799 GB, free: 140.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/16.06, allocations: 36 kB / 4.799 GB, free: 140.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001235/16.06, allocations: 494.3 kB / 4.8 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/16.06, allocations: 0.697 MB / 4.8 GB, free: 139.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/16.06, allocations: 7.938 kB / 4.801 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.546e-05/16.06, allocations: 0 / 4.801 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/16.06, allocations: 19.95 kB / 4.801 GB, free: 139.4 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.005417/16.07, allocations: 4.082 MB / 4.805 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000899/16.07, allocations: 462.4 kB / 4.805 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005807/16.07, allocations: 338.3 kB / 4.805 GB, free: 134.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000388/16.07, allocations: 186.2 kB / 4.805 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005247/16.07, allocations: 294.9 kB / 4.806 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005523/16.07, allocations: 11.84 kB / 4.806 GB, free: 133.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 3.156e-06/16.07, allocations: 4 kB / 4.806 GB, free: 133.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.002673/16.07, allocations: 0.7902 MB / 4.807 GB, free: 133 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/16.07, allocations: 85.11 kB / 4.807 GB, free: 132.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/16.07, allocations: 0.8479 MB / 4.807 GB, free: 132 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/16.07, allocations: 29.7 kB / 4.807 GB, free: 132 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004736/16.07, allocations: 496.1 kB / 4.808 GB, free: 131.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/16.07, allocations: 102.5 kB / 4.808 GB, free: 131.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/16.07, allocations: 0 / 4.808 GB, free: 131.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.444e-05/16.07, allocations: 333.9 kB / 4.808 GB, free: 131 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/16.07, allocations: 197 kB / 4.809 GB, free: 130.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/16.08, allocations: 0.5089 MB / 4.809 GB, free: 130.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/16.08, allocations: 277.7 kB / 4.809 GB, free: 129.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/16.08, allocations: 4 kB / 4.809 GB, free: 129.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002664/16.08, allocations: 0.9282 MB / 4.81 GB, free: 129 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004575/16.08, allocations: 2.143 MB / 4.812 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/16.08, allocations: 4 kB / 4.812 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008325/16.08, allocations: 243.5 kB / 4.813 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/16.08, allocations: 79.83 kB / 4.813 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/16.08, allocations: 1.138 MB / 4.814 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/16.08, allocations: 71.88 kB / 4.814 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/16.08, allocations: 31.92 kB / 4.814 GB, free: 125.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/16.08, allocations: 4 kB / 4.814 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001787/16.09, allocations: 0.6481 MB / 4.814 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/16.09, allocations: 4.625 kB / 4.814 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009809/16.09, allocations: 222.1 kB / 4.815 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/16.09, allocations: 75.89 kB / 4.815 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004816/16.09, allocations: 2.877 MB / 4.818 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/16.09, allocations: 91.75 kB / 4.818 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.57e-05/16.09, allocations: 24 kB / 4.818 GB, free: 121 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.0002178/16.09, allocations: 134.6 kB / 4.818 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001552/16.1, allocations: 0.6606 MB / 4.818 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/16.1, allocations: 94.88 kB / 4.819 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/16.1, allocations: 0.7107 MB / 4.819 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/16.1, allocations: 4 kB / 4.819 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/16.1, allocations: 0 / 4.819 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/16.1, allocations: 0 / 4.819 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/16.1, allocations: 1.578 MB / 4.821 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/16.1, allocations: 4 kB / 4.821 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/16.1, allocations: 27.92 kB / 4.821 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005986/16.1, allocations: 200.6 kB / 4.821 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/16.1, allocations: 15.98 kB / 4.821 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/16.1, allocations: 1.013 MB / 4.822 GB, free: 116.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/16.1, allocations: 7.984 kB / 4.822 GB, free: 116.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/16.11, allocations: 0.8885 MB / 4.823 GB, free: 115.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006092/16.11, allocations: 227.8 kB / 4.823 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/16.11, allocations: 7.984 kB / 4.823 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/16.11, allocations: 67.77 kB / 4.823 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/16.11, allocations: 27.91 kB / 4.823 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/16.11, allocations: 15.98 kB / 4.823 GB, free: 115.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001168/16.11, allocations: 0.6611 MB / 4.824 GB, free: 114.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.41e-07/16.11, allocations: 0 / 4.824 GB, free: 114.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002373/16.11, allocations: 0.5111 MB / 4.824 GB, free: 113.9 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.003346/16.11, allocations: 2.768 MB / 4.827 GB, free: 111.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002822/16.12, allocations: 1.044 MB / 4.828 GB, free: 110 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/16.12, allocations: 0 / 4.828 GB, free: 110 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009886/16.12, allocations: 216.8 kB / 4.828 GB, free: 109.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008159/16.13, allocations: 0.5336 MB / 4.829 GB, free: 109.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/16.13, allocations: 1.621 MB / 4.83 GB, free: 107.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008074/16.13, allocations: 1.202 MB / 4.832 GB, free: 106.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003056/16.13, allocations: 0.6669 MB / 4.832 GB, free: 105.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004763/16.14, allocations: 299.3 kB / 4.832 GB, free: 105.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.173e-06/16.14, allocations: 0 / 4.832 GB, free: 105.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/16.24, allocations: 33.6 MB / 4.865 GB, free: 71.93 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/16.24, allocations: 193.1 kB / 4.865 GB, free: 71.74 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.872/20.11, allocations: 4 kB / 4.865 GB, free: 71.74 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)