Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.386/1.386, allocations: 251.9 MB / 266.9 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001253/0.001252, allocations: 190.4 kB / 326.5 MB, free: 2.203 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.808/1.808, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.001042/0.001042, allocations: 90.36 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004903, allocations: 10.44 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2579, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.667/5.925, allocations: 2.182 GB / 3.082 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/5.925, allocations: 93.7 kB / 3.082 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.948/11.87, allocations: 1.726 GB / 4.808 GB, free: 263.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.826e-06/11.87, allocations: 0 / 4.808 GB, free: 263.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001825/11.87, allocations: 28.92 kB / 4.808 GB, free: 263.9 MB / 0.8855 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.004021/11.88, allocations: 1.427 MB / 4.809 GB, free: 263.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/11.88, allocations: 15.25 kB / 4.809 GB, free: 263.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002667/11.88, allocations: 91.98 kB / 4.809 GB, free: 263.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/11.88, allocations: 189.5 kB / 4.809 GB, free: 263.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/11.88, allocations: 1.08 MB / 4.81 GB, free: 263 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/11.88, allocations: 42.53 kB / 4.81 GB, free: 263 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/11.88, allocations: 66.25 kB / 4.81 GB, free: 263 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/11.88, allocations: 0.7629 MB / 4.811 GB, free: 262.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/11.88, allocations: 6.156 kB / 4.811 GB, free: 262.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.458e-05/11.88, allocations: 21.69 kB / 4.811 GB, free: 262.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/11.88, allocations: 11.41 kB / 4.811 GB, free: 262.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008941/11.88, allocations: 0.5176 MB / 4.812 GB, free: 262.7 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004908/11.89, allocations: 4.598 MB / 4.816 GB, free: 259.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007941/11.89, allocations: 427 kB / 4.817 GB, free: 259.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000333/11.89, allocations: 197.8 kB / 4.817 GB, free: 259.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005868/11.89, allocations: 298.7 kB / 4.817 GB, free: 259.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 3.055e-06/11.89, allocations: 0.5312 kB / 4.817 GB, free: 259.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.001884/11.89, allocations: 0.6418 MB / 4.818 GB, free: 259 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/11.89, allocations: 81.33 kB / 4.818 GB, free: 258.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/11.89, allocations: 0.9826 MB / 4.819 GB, free: 258.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-05/11.89, allocations: 40.62 kB / 4.819 GB, free: 258.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/11.9, allocations: 494.2 kB / 4.819 GB, free: 258.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/11.9, allocations: 111.8 kB / 4.819 GB, free: 258.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/11.9, allocations: 7.688 kB / 4.819 GB, free: 258.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.741e-05/11.9, allocations: 328.6 kB / 4.82 GB, free: 258.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/11.9, allocations: 184.1 kB / 4.82 GB, free: 258.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/11.9, allocations: 0.506 MB / 4.82 GB, free: 257.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/11.9, allocations: 290.8 kB / 4.821 GB, free: 257.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/11.9, allocations: 7.109 kB / 4.821 GB, free: 257.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001139/11.9, allocations: 0.6803 MB / 4.821 GB, free: 257.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004532/11.9, allocations: 2.136 MB / 4.823 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/11.9, allocations: 6.438 kB / 4.823 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/11.9, allocations: 10.69 kB / 4.823 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/11.9, allocations: 113 kB / 4.824 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/11.9, allocations: 11.12 kB / 4.824 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/11.9, allocations: 102.1 kB / 4.824 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.355e-05/11.9, allocations: 28.22 kB / 4.824 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/11.9, allocations: 3.969 kB / 4.824 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007942/11.9, allocations: 0.5448 MB / 4.824 GB, free: 255.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/11.9, allocations: 6.812 kB / 4.824 GB, free: 255.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.649e-06/11.9, allocations: 7.781 kB / 4.824 GB, free: 255.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/11.9, allocations: 109.4 kB / 4.824 GB, free: 255.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/11.9, allocations: 12.92 kB / 4.824 GB, free: 255.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009076/11.9, allocations: 101.5 kB / 4.824 GB, free: 255.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/11.9, allocations: 21.25 kB / 4.824 GB, free: 255.4 MB / 0.8855 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 () * Number of clocked 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.0005933/11.9, allocations: 467.1 kB / 4.825 GB, free: 255.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/11.9, allocations: 104.3 kB / 4.825 GB, free: 255.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009177/11.9, allocations: 0.5005 MB / 4.825 GB, free: 255.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/11.9, allocations: 0 / 4.825 GB, free: 255.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/11.9, allocations: 11.27 kB / 4.825 GB, free: 255.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/11.9, allocations: 3.797 kB / 4.825 GB, free: 255.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/11.91, allocations: 1.389 MB / 4.827 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/11.91, allocations: 3.344 kB / 4.827 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/11.91, allocations: 66.33 kB / 4.827 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/11.91, allocations: 1.875 kB / 4.827 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/11.91, allocations: 14.19 kB / 4.827 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/11.91, allocations: 3.969 kB / 4.827 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/11.91, allocations: 0 / 4.827 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007716/11.91, allocations: 0.7026 MB / 4.828 GB, free: 254.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004843/11.91, allocations: 216.1 kB / 4.828 GB, free: 254.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/11.91, allocations: 10.34 kB / 4.828 GB, free: 254.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006086/11.91, allocations: 53.59 kB / 4.828 GB, free: 254.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/11.91, allocations: 32.14 kB / 4.828 GB, free: 254.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/11.91, allocations: 18.22 kB / 4.828 GB, free: 254.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009305/11.91, allocations: 0.7818 MB / 4.829 GB, free: 254 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3e-07/11.91, allocations: 3.406 kB / 4.829 GB, free: 254 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001706/11.91, allocations: 478.3 kB / 4.829 GB, free: 254 MB / 0.8855 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) * Number of clocked states: 0 () * 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.002566/11.91, allocations: 2.518 MB / 4.832 GB, free: 252.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001351/11.92, allocations: 0.7981 MB / 4.832 GB, free: 252.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/11.92, allocations: 0 / 4.832 GB, free: 252.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/11.92, allocations: 214.1 kB / 4.833 GB, free: 252.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/11.92, allocations: 461.8 kB / 4.833 GB, free: 252.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/11.93, allocations: 9.556 MB / 4.842 GB, free: 247.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/11.93, allocations: 1.2 MB / 4.844 GB, free: 246.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001284/11.93, allocations: 420.5 kB / 4.844 GB, free: 246.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005322/11.93, allocations: 328.4 kB / 4.844 GB, free: 246.3 MB / 0.8855 GB Notification: Performance of SimCode: time 7.204e-06/11.93, allocations: 0 / 4.844 GB, free: 246.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06241/11.99, allocations: 39.22 MB / 4.883 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/11.99, allocations: 265.7 kB / 4.883 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.187/15.18, allocations: 0 / 4.883 GB, free: 236.9 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)