Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.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.Movers.Validation.PumpCurveConstruction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveConstruction",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.9276/0.9276, allocations: 143.3 MB / 158.3 MB, free: 5.816 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 181 kB / 191.5 MB, free: 5.785 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.6/1.6, allocations: 223.2 MB / 447.7 MB, free: 6.57 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.001103/0.001103, allocations: 107.8 kB / 0.5188 GB, free: 2.914 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001878/0.001878, allocations: 269.8 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005354/0.0005356, allocations: 16 kB / 0.693 GB, free: 2.207 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4847/0.4853, allocations: 82.77 MB / 0.7738 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.938/1.423, allocations: 399.3 MB / 1.164 GB, free: 4.871 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/1.424, allocations: 97.14 kB / 1.164 GB, free: 4.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.251/7.675, allocations: 1.525 GB / 2.688 GB, free: 62.22 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.763e-06/7.675, allocations: 0 / 2.688 GB, free: 62.22 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005262/7.675, allocations: 103.4 kB / 2.688 GB, free: 62.2 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01794/7.693, allocations: 5.185 MB / 2.693 GB, free: 60.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/7.694, allocations: 10.66 kB / 2.694 GB, free: 60.02 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001318/7.695, allocations: 291.6 kB / 2.694 GB, free: 59.96 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007698/7.703, allocations: 1.111 MB / 2.695 GB, free: 59.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06146/7.764, allocations: 28.14 MB / 2.722 GB, free: 57.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/7.764, allocations: 189.5 kB / 2.723 GB, free: 57.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005042/7.765, allocations: 238.6 kB / 2.723 GB, free: 57.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004988/7.77, allocations: 2.578 MB / 2.725 GB, free: 57.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/7.77, allocations: 3.188 kB / 2.725 GB, free: 57.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/7.77, allocations: 85.44 kB / 2.725 GB, free: 57.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/7.77, allocations: 50.44 kB / 2.725 GB, free: 57.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004164/7.774, allocations: 1.944 MB / 2.727 GB, free: 57.56 MB / 0.7448 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.017/7.791, allocations: 12.01 MB / 2.739 GB, free: 51.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003454/7.795, allocations: 1.545 MB / 2.741 GB, free: 51.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007665/7.802, allocations: 3.767 MB / 2.744 GB, free: 49.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/7.803, allocations: 47.53 kB / 2.744 GB, free: 49.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001641/7.804, allocations: 224.9 kB / 2.744 GB, free: 49.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=116): time 6.963e-06/7.804, allocations: 0 / 2.744 GB, free: 49.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=116): time 0.01188/7.816, allocations: 3.858 MB / 2.748 GB, free: 47.74 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/7.816, allocations: 68.12 kB / 2.748 GB, free: 47.67 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005013/7.821, allocations: 2.78 MB / 2.751 GB, free: 46.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003534/7.822, allocations: 63.95 kB / 2.751 GB, free: 46.58 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001365/7.823, allocations: 1.681 MB / 2.753 GB, free: 45.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/7.823, allocations: 400.7 kB / 2.753 GB, free: 44.96 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/7.823, allocations: 34.78 kB / 2.753 GB, free: 44.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001313/7.824, allocations: 375.6 kB / 2.754 GB, free: 44.6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/7.825, allocations: 0.6953 MB / 2.754 GB, free: 44.38 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/7.827, allocations: 1.443 MB / 2.756 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/7.829, allocations: 0.8563 MB / 2.756 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/7.829, allocations: 3.969 kB / 2.756 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.006502/7.836, allocations: 2.737 MB / 2.759 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001624/7.837, allocations: 7.676 MB / 2.767 GB, free: 33.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/7.837, allocations: 18.78 kB / 2.767 GB, free: 33.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/7.839, allocations: 0.6381 MB / 2.767 GB, free: 33.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/7.841, allocations: 377.6 kB / 2.768 GB, free: 33.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/7.844, allocations: 5.03 MB / 2.773 GB, free: 28.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003864/7.848, allocations: 216.8 kB / 2.773 GB, free: 28.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004193/7.848, allocations: 156.3 kB / 2.773 GB, free: 28.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/7.849, allocations: 3.719 kB / 2.773 GB, free: 28.76 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005823/7.854, allocations: 2.561 MB / 2.775 GB, free: 27.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/7.854, allocations: 16.03 kB / 2.775 GB, free: 27.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/7.857, allocations: 0.8964 MB / 2.776 GB, free: 27.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/7.858, allocations: 347.7 kB / 2.777 GB, free: 27.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/7.872, allocations: 12.73 MB / 2.789 GB, free: 17.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004278/7.877, allocations: 208.5 kB / 2.789 GB, free: 16.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00043/7.877, allocations: 135.4 kB / 2.789 GB, free: 16.83 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 172 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.003177/7.88, allocations: 0.8141 MB / 2.79 GB, free: 16.05 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/7.882, allocations: 343.5 kB / 2.79 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007865/7.889, allocations: 2.787 MB / 2.793 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/7.89, allocations: 19.42 kB / 2.793 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/7.89, allocations: 0 / 2.793 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/7.89, allocations: 7.359 kB / 2.793 GB, free: 13.39 MB / 0.7448 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 postOpt removeSimpleEquations (simulation): time 0.01397/7.904, allocations: 4.933 MB / 2.798 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/7.904, allocations: 0 / 2.798 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009869/7.905, allocations: 206.3 kB / 2.798 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/7.906, allocations: 0.6419 MB / 2.799 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/7.907, allocations: 42.5 kB / 2.799 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003744/7.91, allocations: 4.929 MB / 2.804 GB, free: 19.72 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/7.91, allocations: 3.953 kB / 2.804 GB, free: 19.72 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00715/7.918, allocations: 2.601 MB / 2.806 GB, free: 17.39 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002774/7.92, allocations: 0.5887 MB / 2.807 GB, free: 16.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006369/7.921, allocations: 23.8 kB / 2.807 GB, free: 16.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/7.923, allocations: 203.9 kB / 2.807 GB, free: 16.7 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/7.923, allocations: 88.8 kB / 2.807 GB, free: 16.64 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/7.923, allocations: 75.23 kB / 2.807 GB, free: 16.59 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003857/7.927, allocations: 2.128 MB / 2.809 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/7.927, allocations: 4 kB / 2.809 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.009592/7.937, allocations: 1.934 MB / 2.811 GB, free: 12.89 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01229/7.949, allocations: 5.289 MB / 2.816 GB, free: 7.91 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01007/7.959, allocations: 3.673 MB / 2.82 GB, free: 4.195 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/7.959, allocations: 0 / 2.82 GB, free: 4.195 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002746/7.962, allocations: 0.9133 MB / 2.821 GB, free: 3.281 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009389/7.972, allocations: 1.528 MB / 2.822 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5866/8.558, allocations: 20.1 MB / 2.842 GB, free: 86.09 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003103/8.561, allocations: 2.231 MB / 2.844 GB, free: 85.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004856/8.566, allocations: 0.7596 MB / 2.845 GB, free: 85.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002565/8.569, allocations: 1.547 MB / 2.846 GB, free: 85.3 MB / 0.7761 GB Notification: Performance of SimCode: time 1.332e-06/8.569, allocations: 0 / 2.846 GB, free: 85.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2171/8.786, allocations: 121.1 MB / 2.965 GB, free: 79.38 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/8.786, allocations: 274.3 kB / 2.965 GB, free: 79.02 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/15.74, allocations: 0 / 2.965 GB, free: 79.02 MB / 0.7761 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveConstruction.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)