Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.449/2.449, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001622/0.001622, allocations: 188.8 kB / 360.6 MB, free: 7.281 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.069/2.069, allocations: 205.3 MB / 0.6191 GB, free: 12.16 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.001089/0.001089, allocations: 88.98 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.042e-05, allocations: 4 kB / 0.8509 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8216/0.8216, allocations: 115.3 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.918/6.739, allocations: 2.063 GB / 3.026 GB, free: 55.96 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/6.74, allocations: 90.06 kB / 3.026 GB, free: 55.91 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.279/16.02, allocations: 1.769 GB / 4.795 GB, free: 146.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.903e-06/16.02, allocations: 0 / 4.795 GB, free: 146.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001739/16.02, allocations: 27.98 kB / 4.795 GB, free: 146.2 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.003125/16.02, allocations: 1.145 MB / 4.796 GB, free: 145 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/16.02, allocations: 8.031 kB / 4.796 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/16.02, allocations: 190.4 kB / 4.796 GB, free: 144.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004145/16.03, allocations: 1.077 MB / 4.797 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/16.03, allocations: 16 kB / 4.797 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/16.03, allocations: 39.98 kB / 4.797 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001203/16.03, allocations: 466.3 kB / 4.798 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/16.03, allocations: 0.6736 MB / 4.798 GB, free: 142.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/16.03, allocations: 7.922 kB / 4.798 GB, free: 142.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.254e-05/16.03, allocations: 4 kB / 4.798 GB, free: 142.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/16.03, allocations: 15.95 kB / 4.798 GB, free: 142.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.005833/16.04, allocations: 4.473 MB / 4.803 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008867/16.04, allocations: 438.4 kB / 4.803 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/16.04, allocations: 238.2 kB / 4.803 GB, free: 136.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003986/16.04, allocations: 202.2 kB / 4.803 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004962/16.04, allocations: 259.3 kB / 4.804 GB, free: 136.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.336e-06/16.04, allocations: 0 / 4.804 GB, free: 136.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001603/16.04, allocations: 491.9 kB / 4.804 GB, free: 135.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/16.04, allocations: 85.11 kB / 4.804 GB, free: 135.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/16.04, allocations: 0.8518 MB / 4.805 GB, free: 134.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/16.04, allocations: 29.7 kB / 4.805 GB, free: 134.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000486/16.04, allocations: 488.8 kB / 4.806 GB, free: 134.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/16.04, allocations: 102.5 kB / 4.806 GB, free: 134.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/16.04, allocations: 0 / 4.806 GB, free: 134.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.516e-05/16.04, allocations: 326 kB / 4.806 GB, free: 134 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/16.04, allocations: 180.8 kB / 4.806 GB, free: 133.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/16.04, allocations: 499.9 kB / 4.807 GB, free: 133.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/16.04, allocations: 263.5 kB / 4.807 GB, free: 132.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/16.04, allocations: 4 kB / 4.807 GB, free: 132.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001497/16.05, allocations: 0.6055 MB / 4.807 GB, free: 132.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000453/16.05, allocations: 2.139 MB / 4.81 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/16.05, allocations: 8 kB / 4.81 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/16.05, allocations: 11.94 kB / 4.81 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009331/16.05, allocations: 111.9 kB / 4.81 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/16.05, allocations: 11.94 kB / 4.81 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/16.05, allocations: 83.53 kB / 4.81 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/16.05, allocations: 32.2 kB / 4.81 GB, free: 129.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/16.05, allocations: 5.094 kB / 4.81 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000957/16.05, allocations: 419.2 kB / 4.81 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/16.05, allocations: 8 kB / 4.81 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/16.05, allocations: 8 kB / 4.81 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/16.05, allocations: 112.4 kB / 4.81 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/16.05, allocations: 8 kB / 4.81 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/16.05, allocations: 79.61 kB / 4.81 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/16.05, allocations: 28.19 kB / 4.81 GB, free: 129.1 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002044/16.05, allocations: 124.6 kB / 4.811 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009224/16.05, allocations: 408.3 kB / 4.811 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/16.05, allocations: 98.78 kB / 4.811 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/16.05, allocations: 443 kB / 4.811 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/16.05, allocations: 4 kB / 4.811 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/16.05, allocations: 7.953 kB / 4.812 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/16.05, allocations: 7.922 kB / 4.812 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/16.06, allocations: 1.249 MB / 4.813 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/16.06, allocations: 3.953 kB / 4.813 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004996/16.06, allocations: 71.89 kB / 4.813 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.629e-06/16.06, allocations: 0 / 4.813 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/16.06, allocations: 4 kB / 4.813 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/16.06, allocations: 12.14 kB / 4.813 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/16.06, allocations: 8 kB / 4.813 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/16.06, allocations: 0.6373 MB / 4.813 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005569/16.06, allocations: 207.9 kB / 4.814 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/16.06, allocations: 11.98 kB / 4.814 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009526/16.06, allocations: 51.8 kB / 4.814 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/16.06, allocations: 31.89 kB / 4.814 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/16.06, allocations: 12 kB / 4.814 GB, free: 125.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001209/16.06, allocations: 0.6611 MB / 4.814 GB, free: 124.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.81e-07/16.06, allocations: 3.938 kB / 4.814 GB, free: 124.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002163/16.06, allocations: 455.4 kB / 4.815 GB, free: 124.4 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003283/16.07, allocations: 2.57 MB / 4.817 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001659/16.07, allocations: 0.7523 MB / 4.818 GB, free: 121 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/16.07, allocations: 0 / 4.818 GB, free: 121 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004178/16.07, allocations: 179.7 kB / 4.818 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/16.07, allocations: 402.2 kB / 4.819 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/16.08, allocations: 1.591 MB / 4.82 GB, free: 118.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000727/16.08, allocations: 1.202 MB / 4.821 GB, free: 117.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003425/16.08, allocations: 0.7523 MB / 4.822 GB, free: 116.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005636/16.08, allocations: 311.3 kB / 4.822 GB, free: 116.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.382e-06/16.08, allocations: 0 / 4.822 GB, free: 116.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/16.19, allocations: 29.85 MB / 4.852 GB, free: 86.82 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/16.19, allocations: 199.7 kB / 4.852 GB, free: 86.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.941/20.13, allocations: 4 kB / 4.852 GB, free: 86.62 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)