Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6863/0.6863, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009999/0.0009999, allocations: 190.6 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 221.3 MB / 441.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008008/0.0008008, allocations: 104.5 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001624/0.001624, allocations: 279.3 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.832e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3271, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.307/3.634, allocations: 1.832 GB / 2.596 GB, free: 216.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/3.634, allocations: 93.47 kB / 2.597 GB, free: 216.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.253/8.888, allocations: 1.813 GB / 4.409 GB, free: 187.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.725e-06/8.888, allocations: 3.969 kB / 4.409 GB, free: 187.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.643e-05/8.888, allocations: 32.22 kB / 4.409 GB, free: 187.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001617/8.889, allocations: 1.148 MB / 4.41 GB, free: 187.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/8.89, allocations: 15.41 kB / 4.41 GB, free: 187.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.664e-05/8.89, allocations: 92.09 kB / 4.41 GB, free: 187.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006617/8.89, allocations: 192.8 kB / 4.411 GB, free: 187 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/8.892, allocations: 1.092 MB / 4.412 GB, free: 186.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/8.892, allocations: 49.06 kB / 4.412 GB, free: 186.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/8.892, allocations: 57.31 kB / 4.412 GB, free: 186.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007962/8.893, allocations: 0.7404 MB / 4.413 GB, free: 186.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/8.893, allocations: 2.344 kB / 4.413 GB, free: 186.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/8.893, allocations: 25.5 kB / 4.413 GB, free: 186.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/8.893, allocations: 15.56 kB / 4.413 GB, free: 186.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000542/8.894, allocations: 476.4 kB / 4.413 GB, free: 186.5 MB / 0.698 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.002946/8.897, allocations: 4.585 MB / 4.418 GB, free: 183.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/8.897, allocations: 383.2 kB / 4.418 GB, free: 183 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/8.897, allocations: 223.9 kB / 4.418 GB, free: 183 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/8.898, allocations: 200.2 kB / 4.418 GB, free: 182.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/8.898, allocations: 273.6 kB / 4.419 GB, free: 182.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.454e-06/8.898, allocations: 0 / 4.419 GB, free: 182.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001156/8.899, allocations: 0.6609 MB / 4.419 GB, free: 182.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/8.899, allocations: 92.16 kB / 4.419 GB, free: 182.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/8.9, allocations: 0.9744 MB / 4.42 GB, free: 182.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/8.9, allocations: 36.55 kB / 4.42 GB, free: 182.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/8.901, allocations: 495.1 kB / 4.421 GB, free: 182.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.835e-05/8.901, allocations: 110.9 kB / 4.421 GB, free: 182.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/8.901, allocations: 6.344 kB / 4.421 GB, free: 182.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.938e-05/8.901, allocations: 330.4 kB / 4.421 GB, free: 181.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/8.901, allocations: 164.8 kB / 4.421 GB, free: 181.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/8.901, allocations: 496.2 kB / 4.422 GB, free: 181.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/8.902, allocations: 275.1 kB / 4.422 GB, free: 181.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/8.902, allocations: 3.656 kB / 4.422 GB, free: 181.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001078/8.903, allocations: 0.8566 MB / 4.423 GB, free: 181.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003635/8.903, allocations: 2.131 MB / 4.425 GB, free: 179.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/8.903, allocations: 10.59 kB / 4.425 GB, free: 179.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004788/8.904, allocations: 231 kB / 4.425 GB, free: 179.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/8.904, allocations: 67.64 kB / 4.425 GB, free: 179.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007109/8.905, allocations: 1.002 MB / 4.426 GB, free: 178.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006587/8.905, allocations: 100.9 kB / 4.426 GB, free: 178.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/8.905, allocations: 30.25 kB / 4.426 GB, free: 178.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/8.905, allocations: 3.594 kB / 4.426 GB, free: 178.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009726/8.906, allocations: 0.6797 MB / 4.427 GB, free: 178.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/8.906, allocations: 10.42 kB / 4.427 GB, free: 178.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004302/8.907, allocations: 206.4 kB / 4.427 GB, free: 178.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/8.907, allocations: 69.7 kB / 4.427 GB, free: 178.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/8.91, allocations: 3.075 MB / 4.43 GB, free: 177 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/8.91, allocations: 92.34 kB / 4.43 GB, free: 177 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/8.91, allocations: 31.38 kB / 4.43 GB, free: 177 MB / 0.698 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 (34): * Single equations (assignments): 32 * 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.0001026/8.91, allocations: 138.9 kB / 4.431 GB, free: 176.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.482e-05/8.911, allocations: 102.5 kB / 4.431 GB, free: 176.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008759/8.911, allocations: 0.6755 MB / 4.431 GB, free: 176.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/8.911, allocations: 3.281 kB / 4.431 GB, free: 176.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/8.911, allocations: 0 / 4.431 GB, free: 176.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/8.911, allocations: 5.656 kB / 4.431 GB, free: 176.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/8.913, allocations: 1.561 MB / 4.433 GB, free: 176.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/8.913, allocations: 3.25 kB / 4.433 GB, free: 176.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/8.913, allocations: 26.81 kB / 4.433 GB, free: 176.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003691/8.914, allocations: 228.6 kB / 4.433 GB, free: 176.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/8.914, allocations: 11.47 kB / 4.433 GB, free: 176.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005947/8.914, allocations: 0.9663 MB / 4.434 GB, free: 175.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/8.914, allocations: 0 / 4.434 GB, free: 175.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008006/8.915, allocations: 0.8781 MB / 4.435 GB, free: 175.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/8.915, allocations: 224.8 kB / 4.435 GB, free: 175.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/8.916, allocations: 7.438 kB / 4.435 GB, free: 175.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/8.916, allocations: 57.89 kB / 4.435 GB, free: 175.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/8.916, allocations: 33.33 kB / 4.435 GB, free: 175.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/8.916, allocations: 11.19 kB / 4.435 GB, free: 175.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007177/8.917, allocations: 0.7693 MB / 4.436 GB, free: 175.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/8.917, allocations: 0 / 4.436 GB, free: 175.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0012/8.918, allocations: 0.5172 MB / 4.436 GB, free: 175.1 MB / 0.698 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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001885/8.92, allocations: 2.687 MB / 4.439 GB, free: 173.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00159/8.922, allocations: 1.019 MB / 4.44 GB, free: 173.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/8.922, allocations: 0.6562 kB / 4.44 GB, free: 173.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004101/8.922, allocations: 224.3 kB / 4.44 GB, free: 173.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/8.924, allocations: 457.1 kB / 4.441 GB, free: 173.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/8.926, allocations: 1.647 MB / 4.442 GB, free: 172.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/8.926, allocations: 1.203 MB / 4.444 GB, free: 172.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001505/8.928, allocations: 0.7433 MB / 4.444 GB, free: 172.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/8.928, allocations: 294.8 kB / 4.445 GB, free: 172.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/8.928, allocations: 0 / 4.445 GB, free: 172.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05365/8.982, allocations: 46.4 MB / 4.49 GB, free: 165.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/8.982, allocations: 255.9 kB / 4.49 GB, free: 164.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/12.05, allocations: 4.062 kB / 4.49 GB, free: 164.9 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)