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.7251/0.7251, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001391/0.001391, allocations: 180.7 kB / 187.3 MB, free: 11.89 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.235/1.235, allocations: 221.3 MB / 441.4 MB, free: 4.586 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.0007677/0.0007678, allocations: 100.2 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00162/0.00162, allocations: 276.4 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.973e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3534, allocations: 82.78 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6636/1.017, allocations: 399.2 MB / 1.154 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/1.017, allocations: 86.77 kB / 1.154 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.717/5.734, allocations: 1.52 GB / 2.674 GB, free: 69.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.583e-06/5.734, allocations: 0 / 2.674 GB, free: 69.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004309/5.735, allocations: 103.5 kB / 2.675 GB, free: 69.62 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.007901/5.743, allocations: 3.585 MB / 2.678 GB, free: 67.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/5.743, allocations: 7.719 kB / 2.678 GB, free: 67.88 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005602/5.743, allocations: 286.7 kB / 2.678 GB, free: 67.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005537/5.749, allocations: 1.114 MB / 2.679 GB, free: 67.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04992/5.799, allocations: 27.98 MB / 2.707 GB, free: 65.94 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/5.799, allocations: 192.1 kB / 2.707 GB, free: 65.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004355/5.799, allocations: 236.9 kB / 2.707 GB, free: 65.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003531/5.803, allocations: 2.451 MB / 2.71 GB, free: 65.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/5.803, allocations: 2.812 kB / 2.71 GB, free: 65.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/5.803, allocations: 89.3 kB / 2.71 GB, free: 65.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/5.803, allocations: 50.22 kB / 2.71 GB, free: 65.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/5.806, allocations: 1.714 MB / 2.711 GB, free: 65.53 MB / 0.7448 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.01529/5.821, allocations: 12.02 MB / 2.723 GB, free: 59.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/5.823, allocations: 1.344 MB / 2.724 GB, free: 59.53 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000723/5.824, allocations: 0.5975 MB / 2.725 GB, free: 59.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005176/5.829, allocations: 3.799 MB / 2.729 GB, free: 57.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/5.829, allocations: 46.81 kB / 2.729 GB, free: 57.78 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00113/5.83, allocations: 226.5 kB / 2.729 GB, free: 57.7 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=116): time 2.895e-06/5.83, allocations: 0 / 2.729 GB, free: 57.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=116): time 0.003934/5.834, allocations: 1.893 MB / 2.731 GB, free: 57.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/5.834, allocations: 66.22 kB / 2.731 GB, free: 57.31 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003173/5.837, allocations: 2.747 MB / 2.734 GB, free: 57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000194/5.837, allocations: 63.94 kB / 2.734 GB, free: 56.96 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009807/5.838, allocations: 1.679 MB / 2.735 GB, free: 56.51 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/5.839, allocations: 406.3 kB / 2.736 GB, free: 56.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-05/5.839, allocations: 36.52 kB / 2.736 GB, free: 56.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.142e-05/5.839, allocations: 373.1 kB / 2.736 GB, free: 55.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008417/5.84, allocations: 0.5863 MB / 2.737 GB, free: 55.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/5.841, allocations: 1.335 MB / 2.738 GB, free: 55.04 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009979/5.842, allocations: 0.7603 MB / 2.739 GB, free: 54.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/5.842, allocations: 9.031 kB / 2.739 GB, free: 54.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.004059/5.846, allocations: 2.504 MB / 2.741 GB, free: 54.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009637/5.847, allocations: 7.685 MB / 2.749 GB, free: 46.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/5.847, allocations: 14.31 kB / 2.749 GB, free: 46.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/5.848, allocations: 0.6034 MB / 2.749 GB, free: 46.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/5.85, allocations: 378.3 kB / 2.75 GB, free: 46.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/5.852, allocations: 4.979 MB / 2.754 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/5.855, allocations: 213.3 kB / 2.755 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/5.855, allocations: 150.3 kB / 2.755 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/5.855, allocations: 4.531 kB / 2.755 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004086/5.859, allocations: 2.369 MB / 2.757 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/5.859, allocations: 17.25 kB / 2.757 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/5.861, allocations: 0.8611 MB / 2.758 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/5.862, allocations: 348.4 kB / 2.758 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/5.874, allocations: 12.43 MB / 2.77 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/5.877, allocations: 199.7 kB / 2.771 GB, free: 31.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003877/5.877, allocations: 132 kB / 2.771 GB, free: 31.24 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 () * 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.0006942/5.878, allocations: 221.6 kB / 2.771 GB, free: 31.05 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007699/5.879, allocations: 350.1 kB / 2.771 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005261/5.884, allocations: 2.56 MB / 2.774 GB, free: 29.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/5.884, allocations: 14.5 kB / 2.774 GB, free: 29.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/5.884, allocations: 3.062 kB / 2.774 GB, free: 29.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/5.884, allocations: 8.766 kB / 2.774 GB, free: 29.91 MB / 0.7448 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 postOpt removeSimpleEquations (simulation): time 0.008709/5.893, allocations: 4.712 MB / 2.778 GB, free: 27.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/5.893, allocations: 3.562 kB / 2.778 GB, free: 27.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009283/5.894, allocations: 207.5 kB / 2.779 GB, free: 27.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/5.895, allocations: 0.6049 MB / 2.779 GB, free: 27.7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/5.895, allocations: 43.2 kB / 2.779 GB, free: 27.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/5.897, allocations: 4.871 MB / 2.784 GB, free: 23.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/5.897, allocations: 3.953 kB / 2.784 GB, free: 23.19 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004351/5.902, allocations: 2.378 MB / 2.786 GB, free: 22.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/5.903, allocations: 0.5869 MB / 2.787 GB, free: 21.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006846/5.904, allocations: 23.72 kB / 2.787 GB, free: 21.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/5.906, allocations: 199.9 kB / 2.787 GB, free: 21.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/5.906, allocations: 88.27 kB / 2.787 GB, free: 21.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/5.906, allocations: 77.11 kB / 2.787 GB, free: 21.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002686/5.909, allocations: 2.096 MB / 2.789 GB, free: 20.78 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.82e-07/5.909, allocations: 4 kB / 2.789 GB, free: 20.78 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005751/5.915, allocations: 1.942 MB / 2.791 GB, free: 20.32 MB / 0.7448 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 () * 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.006127/5.921, allocations: 5.049 MB / 2.796 GB, free: 17.17 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004677/5.926, allocations: 3.481 MB / 2.8 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/5.926, allocations: 4.125 kB / 2.8 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/5.927, allocations: 0.811 MB / 2.8 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005262/5.932, allocations: 1.52 MB / 2.802 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007407/5.94, allocations: 5.164 MB / 2.807 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/5.941, allocations: 2.239 MB / 2.809 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0041/5.945, allocations: 1.169 MB / 2.81 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/5.946, allocations: 1.49 MB / 2.812 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/5.946, allocations: 0 / 2.812 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5508/6.497, allocations: 131 MB / 2.94 GB, free: 96.38 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/6.497, allocations: 253.5 kB / 2.94 GB, free: 96.06 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.853/12.35, allocations: 0 / 2.94 GB, free: 96.06 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)