Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 249.5 MB / 257 MB, free: 6.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 180.9 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008662/0.0008659, allocations: 84.61 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.991e-05/1.994e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2201, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.788/6.008, allocations: 2.182 GB / 3.067 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/6.008, allocations: 93.38 kB / 3.067 GB, free: 225 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.722/12.73, allocations: 1.891 GB / 4.959 GB, free: 215 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.435e-06/12.73, allocations: 8.125 kB / 4.959 GB, free: 215 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001448/12.73, allocations: 32.2 kB / 4.959 GB, free: 215 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004626/12.73, allocations: 1.276 MB / 4.96 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/12.73, allocations: 9.938 kB / 4.96 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/12.74, allocations: 199 kB / 4.96 GB, free: 214.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003772/12.74, allocations: 1.432 MB / 4.961 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/12.74, allocations: 18.33 kB / 4.961 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/12.74, allocations: 40.06 kB / 4.962 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001225/12.74, allocations: 0.7017 MB / 4.962 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/12.74, allocations: 0.8485 MB / 4.963 GB, free: 214 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/12.74, allocations: 1.906 kB / 4.963 GB, free: 214 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/12.74, allocations: 2.734 kB / 4.963 GB, free: 214 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/12.74, allocations: 14.78 kB / 4.963 GB, free: 214 MB / 0.8698 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.004442/12.75, allocations: 4.606 MB / 4.968 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/12.75, allocations: 4.078 MB / 4.972 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004163/12.75, allocations: 335.1 kB / 4.972 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/12.75, allocations: 199.2 kB / 4.972 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004076/12.75, allocations: 292.4 kB / 4.972 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005485/12.75, allocations: 11.94 kB / 4.972 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.284e-06/12.75, allocations: 4.156 kB / 4.972 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001838/12.75, allocations: 0.8228 MB / 4.973 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/12.75, allocations: 81.11 kB / 4.973 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/12.75, allocations: 0.9009 MB / 4.974 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/12.75, allocations: 31.2 kB / 4.974 GB, free: 206 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004118/12.75, allocations: 0.5247 MB / 4.975 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.562e-05/12.75, allocations: 122.9 kB / 4.975 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/12.75, allocations: 0 / 4.975 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.66e-05/12.75, allocations: 327.5 kB / 4.975 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/12.75, allocations: 204.5 kB / 4.975 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/12.76, allocations: 0.5385 MB / 4.976 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/12.76, allocations: 290.8 kB / 4.976 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/12.76, allocations: 3.406 kB / 4.976 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001678/12.76, allocations: 0.9529 MB / 4.977 GB, free: 205 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004764/12.76, allocations: 2.217 MB / 4.979 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/12.76, allocations: 6.031 kB / 4.979 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004734/12.76, allocations: 231.9 kB / 4.979 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/12.76, allocations: 80.11 kB / 4.979 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/12.76, allocations: 1.113 MB / 4.981 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/12.76, allocations: 86.09 kB / 4.981 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/12.76, allocations: 29.42 kB / 4.981 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/12.76, allocations: 3.625 kB / 4.981 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001111/12.76, allocations: 0.6539 MB / 4.981 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/12.76, allocations: 8.703 kB / 4.981 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005211/12.76, allocations: 204.5 kB / 4.981 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/12.76, allocations: 78.64 kB / 4.982 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/12.77, allocations: 2.775 MB / 4.984 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/12.77, allocations: 90.23 kB / 4.984 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/12.77, allocations: 26.92 kB / 4.984 GB, free: 200.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (40): * Single equations (assignments): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002288/12.77, allocations: 124.9 kB / 4.985 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001199/12.77, allocations: 0.6645 MB / 4.985 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/12.77, allocations: 108.4 kB / 4.985 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/12.77, allocations: 0.7109 MB / 4.986 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/12.77, allocations: 4.781 kB / 4.986 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/12.77, allocations: 2.812 kB / 4.986 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/12.77, allocations: 3.562 kB / 4.986 GB, free: 200.5 MB / 0.8698 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 postOpt removeSimpleEquations (simulation): time 0.003278/12.77, allocations: 2.015 MB / 4.988 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/12.77, allocations: 10.28 kB / 4.988 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/12.77, allocations: 48.64 kB / 4.988 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002571/12.77, allocations: 146.3 kB / 4.988 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/12.77, allocations: 3.875 kB / 4.988 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007025/12.77, allocations: 0.8711 MB / 4.989 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/12.77, allocations: 1.656 kB / 4.989 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/12.78, allocations: 0.8885 MB / 4.99 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006425/12.78, allocations: 229.1 kB / 4.99 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/12.78, allocations: 7.375 kB / 4.99 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007545/12.78, allocations: 72.23 kB / 4.99 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/12.78, allocations: 36.92 kB / 4.99 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/12.78, allocations: 17.11 kB / 4.99 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00151/12.78, allocations: 0.6971 MB / 4.991 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/12.78, allocations: 0.5 kB / 4.991 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002418/12.78, allocations: 0.5626 MB / 4.991 GB, free: 198.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003189/12.78, allocations: 3.013 MB / 4.994 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00175/12.79, allocations: 1.077 MB / 4.995 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/12.79, allocations: 0 / 4.995 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003142/12.79, allocations: 226.8 kB / 4.996 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/12.79, allocations: 0.5927 MB / 4.996 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/12.79, allocations: 1.712 MB / 4.998 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/12.79, allocations: 1.239 MB / 4.999 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001742/12.8, allocations: 0.7259 MB / 5 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/12.8, allocations: 331 kB / 5 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.042e-06/12.8, allocations: 0 / 5 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06784/12.86, allocations: 36.38 MB / 5.036 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/12.86, allocations: 220.1 kB / 5.036 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.172/16.04, allocations: 2.656 kB / 5.036 GB, free: 194.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)