Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.871/1.871, allocations: 285.4 MB / 298 MB, free: 5.977 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.001178/0.001178, allocations: 172.9 kB / 366.4 MB, free: 2.113 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.77/1.77, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.000887/0.0008869, allocations: 86.41 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.854e-05/3.857e-05, allocations: 4 kB / 0.8584 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7569/0.757, allocations: 115.3 MB / 0.971 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.862/5.619, allocations: 2.063 GB / 3.034 GB, free: 76.62 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/5.619, allocations: 95.94 kB / 3.035 GB, free: 76.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.207/11.83, allocations: 1.787 GB / 4.821 GB, free: 124.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.295e-06/11.83, allocations: 0 / 4.821 GB, free: 124.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001359/11.83, allocations: 31.98 kB / 4.822 GB, free: 124.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.002472/11.83, allocations: 1.149 MB / 4.823 GB, free: 123.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/11.83, allocations: 8.031 kB / 4.823 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/11.83, allocations: 90.52 kB / 4.823 GB, free: 123.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/11.83, allocations: 190.4 kB / 4.823 GB, free: 123.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003492/11.83, allocations: 1.081 MB / 4.824 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.607e-05/11.83, allocations: 45 kB / 4.824 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/11.83, allocations: 60 kB / 4.824 GB, free: 122 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/11.84, allocations: 0.7417 MB / 4.825 GB, free: 121.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/11.84, allocations: 3.938 kB / 4.825 GB, free: 121.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-05/11.84, allocations: 24 kB / 4.825 GB, free: 121.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/11.84, allocations: 12 kB / 4.825 GB, free: 121.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/11.84, allocations: 478.6 kB / 4.825 GB, free: 120.7 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.005075/11.84, allocations: 4.594 MB / 4.83 GB, free: 115.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008126/11.84, allocations: 380.7 kB / 4.83 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/11.84, allocations: 226.9 kB / 4.83 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003935/11.84, allocations: 190.2 kB / 4.831 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005438/11.84, allocations: 278.4 kB / 4.831 GB, free: 114.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.356e-06/11.84, allocations: 0 / 4.831 GB, free: 114.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001324/11.85, allocations: 462 kB / 4.831 GB, free: 114.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/11.85, allocations: 81.11 kB / 4.831 GB, free: 114 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/11.85, allocations: 0.9685 MB / 4.832 GB, free: 113 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.828e-05/11.85, allocations: 45.69 kB / 4.832 GB, free: 113 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004659/11.85, allocations: 493.1 kB / 4.833 GB, free: 112.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/11.85, allocations: 106.5 kB / 4.833 GB, free: 112.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/11.85, allocations: 12 kB / 4.833 GB, free: 112.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.348e-05/11.85, allocations: 326 kB / 4.833 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/11.85, allocations: 160.8 kB / 4.833 GB, free: 111.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/11.85, allocations: 0.489 MB / 4.834 GB, free: 111.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/11.85, allocations: 279.4 kB / 4.834 GB, free: 111 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/11.85, allocations: 0 / 4.834 GB, free: 111 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001401/11.85, allocations: 0.6395 MB / 4.835 GB, free: 110.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004439/11.85, allocations: 2.14 MB / 4.837 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/11.85, allocations: 8 kB / 4.837 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/11.85, allocations: 8 kB / 4.837 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007516/11.85, allocations: 111.8 kB / 4.837 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/11.85, allocations: 16.16 kB / 4.837 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/11.85, allocations: 107.4 kB / 4.837 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.721e-05/11.85, allocations: 28 kB / 4.837 GB, free: 107.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/11.85, allocations: 4 kB / 4.837 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001068/11.86, allocations: 497.5 kB / 4.838 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/11.86, allocations: 4 kB / 4.838 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/11.86, allocations: 8 kB / 4.838 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/11.86, allocations: 111.8 kB / 4.838 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/11.86, allocations: 11.94 kB / 4.838 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/11.86, allocations: 95.55 kB / 4.838 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/11.86, allocations: 31.98 kB / 4.838 GB, free: 107 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.0001699/11.86, allocations: 141.5 kB / 4.838 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/11.86, allocations: 98.78 kB / 4.838 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/11.86, allocations: 466.9 kB / 4.838 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/11.86, allocations: 4 kB / 4.838 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/11.86, allocations: 0 / 4.838 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/11.86, allocations: 3.953 kB / 4.838 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/11.86, allocations: 1.349 MB / 4.84 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/11.86, allocations: 224 / 4.84 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/11.86, allocations: 79.84 kB / 4.84 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/11.86, allocations: 4 kB / 4.84 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/11.86, allocations: 11.98 kB / 4.84 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/11.86, allocations: 0 / 4.84 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/11.86, allocations: 7.984 kB / 4.84 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/11.86, allocations: 0.6537 MB / 4.841 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/11.86, allocations: 219.8 kB / 4.841 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/11.86, allocations: 11.94 kB / 4.841 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009055/11.87, allocations: 55.8 kB / 4.841 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/11.87, allocations: 31.95 kB / 4.841 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/11.87, allocations: 12 kB / 4.841 GB, free: 103.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001514/11.87, allocations: 0.7727 MB / 4.842 GB, free: 102.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.452e-06/11.87, allocations: 4 kB / 4.842 GB, free: 102.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00243/11.87, allocations: 479.6 kB / 4.842 GB, free: 102.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.002938/11.87, allocations: 2.473 MB / 4.844 GB, free: 99.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001624/11.87, allocations: 0.772 MB / 4.845 GB, free: 99.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/11.87, allocations: 4.188 kB / 4.845 GB, free: 99.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004386/11.87, allocations: 191.7 kB / 4.845 GB, free: 98.91 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/11.88, allocations: 462.6 kB / 4.846 GB, free: 98.47 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004059/11.88, allocations: 1.648 MB / 4.847 GB, free: 96.75 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007634/11.88, allocations: 1.203 MB / 4.849 GB, free: 95.52 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003539/11.89, allocations: 0.8348 MB / 4.849 GB, free: 94.68 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005128/11.89, allocations: 303.3 kB / 4.85 GB, free: 94.39 MB / 0.948 GB Notification: Performance of SimCode: time 1.182e-06/11.89, allocations: 0 / 4.85 GB, free: 94.39 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09287/11.98, allocations: 42.95 MB / 4.892 GB, free: 51.66 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/11.98, allocations: 223.8 kB / 4.892 GB, free: 51.43 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.398/15.38, allocations: 2.344 kB / 4.892 GB, free: 51.43 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)