Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.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.PumpCurveDerivatives,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveDerivatives",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.6867/0.6867, 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.0009869/0.0009869, allocations: 184.5 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.246/1.246, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0008419/0.000842, allocations: 98.97 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.001706/0.001706, allocations: 272.6 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.413e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3477, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6176/0.9654, allocations: 362.8 MB / 1.119 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.9656, allocations: 95.22 kB / 1.119 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.114/4.079, allocations: 0.949 GB / 2.068 GB, free: 78.72 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.352e-06/4.079, allocations: 3.719 kB / 2.068 GB, free: 78.72 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003542/4.08, allocations: 81.48 kB / 2.068 GB, free: 78.71 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.006968/4.087, allocations: 3.178 MB / 2.071 GB, free: 77.37 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/4.087, allocations: 13.84 kB / 2.071 GB, free: 77.37 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000289/4.087, allocations: 229.6 kB / 2.071 GB, free: 77.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004161/4.091, allocations: 0.8885 MB / 2.072 GB, free: 77.11 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03611/4.127, allocations: 19.92 MB / 2.091 GB, free: 75.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/4.127, allocations: 138.5 kB / 2.092 GB, free: 75.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/4.128, allocations: 187.7 kB / 2.092 GB, free: 75.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/4.131, allocations: 2.062 MB / 2.094 GB, free: 75.49 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/4.131, allocations: 0.75 kB / 2.094 GB, free: 75.49 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/4.131, allocations: 66.98 kB / 2.094 GB, free: 75.48 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/4.131, allocations: 42.48 kB / 2.094 GB, free: 75.48 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/4.133, allocations: 1.408 MB / 2.095 GB, free: 75.47 MB / 0.7292 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.01212/4.145, allocations: 10.3 MB / 2.105 GB, free: 71.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/4.147, allocations: 1.168 MB / 2.106 GB, free: 71.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/4.147, allocations: 0.5264 MB / 2.107 GB, free: 71.42 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004883/4.152, allocations: 4.078 MB / 2.111 GB, free: 69.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/4.152, allocations: 46.41 kB / 2.111 GB, free: 69.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001069/4.153, allocations: 206.8 kB / 2.111 GB, free: 69.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=84): time 3.276e-06/4.153, allocations: 0 / 2.111 GB, free: 69.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=84): time 0.003236/4.157, allocations: 1.577 MB / 2.113 GB, free: 69.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/4.157, allocations: 66.33 kB / 2.113 GB, free: 69.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004823/4.162, allocations: 3.718 MB / 2.116 GB, free: 69.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002254/4.162, allocations: 58.77 kB / 2.116 GB, free: 69.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009867/4.163, allocations: 1.607 MB / 2.118 GB, free: 68.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/4.163, allocations: 295.5 kB / 2.118 GB, free: 68.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.472e-05/4.163, allocations: 29.72 kB / 2.118 GB, free: 68.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/4.163, allocations: 372.7 kB / 2.119 GB, free: 68.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007553/4.164, allocations: 0.5685 MB / 2.119 GB, free: 68.17 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/4.165, allocations: 1.355 MB / 2.121 GB, free: 67.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/4.166, allocations: 0.7379 MB / 2.121 GB, free: 67.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/4.166, allocations: 7.844 kB / 2.121 GB, free: 67.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.003865/4.17, allocations: 2.321 MB / 2.124 GB, free: 66.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001536/4.171, allocations: 9.413 MB / 2.133 GB, free: 57.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/4.171, allocations: 21.72 kB / 2.133 GB, free: 57.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/4.172, allocations: 372.1 kB / 2.133 GB, free: 57.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/4.174, allocations: 366.9 kB / 2.134 GB, free: 57.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/4.175, allocations: 2.113 MB / 2.136 GB, free: 55.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/4.178, allocations: 175.3 kB / 2.136 GB, free: 55.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002668/4.178, allocations: 154.2 kB / 2.136 GB, free: 55.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/4.178, allocations: 4.75 kB / 2.136 GB, free: 55.59 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003556/4.182, allocations: 2.191 MB / 2.138 GB, free: 55.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.019e-05/4.182, allocations: 18.91 kB / 2.138 GB, free: 55.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/4.183, allocations: 0.5068 MB / 2.139 GB, free: 55.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/4.184, allocations: 347.3 kB / 2.139 GB, free: 55.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005923/4.19, allocations: 5.221 MB / 2.144 GB, free: 52.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/4.193, allocations: 158.3 kB / 2.144 GB, free: 52.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/4.193, allocations: 138.4 kB / 2.144 GB, free: 52.71 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 161 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 9,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004686/4.194, allocations: 214.8 kB / 2.144 GB, free: 52.58 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004487/4.194, allocations: 326.8 kB / 2.145 GB, free: 52.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004627/4.199, allocations: 2.114 MB / 2.147 GB, free: 52.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/4.199, allocations: 16.78 kB / 2.147 GB, free: 52.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/4.199, allocations: 0 / 2.147 GB, free: 52.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/4.199, allocations: 3.797 kB / 2.147 GB, free: 52.25 MB / 0.7292 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.007921/4.207, allocations: 4.619 MB / 2.151 GB, free: 51.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/4.207, allocations: 2.844 kB / 2.151 GB, free: 51.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008255/4.208, allocations: 186.3 kB / 2.152 GB, free: 51.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007642/4.208, allocations: 309 kB / 2.152 GB, free: 51.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.068e-05/4.208, allocations: 39.83 kB / 2.152 GB, free: 51.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/4.21, allocations: 1.98 MB / 2.154 GB, free: 50.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/4.21, allocations: 5.312 kB / 2.154 GB, free: 50.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004275/4.214, allocations: 2.727 MB / 2.156 GB, free: 49.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/4.215, allocations: 0.7112 MB / 2.157 GB, free: 49.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006017/4.216, allocations: 22.94 kB / 2.157 GB, free: 49.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/4.218, allocations: 159.6 kB / 2.157 GB, free: 49.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/4.218, allocations: 69.81 kB / 2.157 GB, free: 49.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/4.218, allocations: 59.28 kB / 2.157 GB, free: 49.35 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003923/4.222, allocations: 2.835 MB / 2.16 GB, free: 49.15 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.01e-07/4.222, allocations: 0 / 2.16 GB, free: 49.15 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005014/4.227, allocations: 1.686 MB / 2.162 GB, free: 48.93 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007128/4.234, allocations: 5.085 MB / 2.167 GB, free: 47.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004445/4.239, allocations: 2.884 MB / 2.17 GB, free: 47.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/4.239, allocations: 4.312 kB / 2.17 GB, free: 47.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009158/4.239, allocations: 0.6422 MB / 2.17 GB, free: 47.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005831/4.245, allocations: 1.632 MB / 2.172 GB, free: 47.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009057/4.254, allocations: 5.098 MB / 2.177 GB, free: 45.76 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/4.256, allocations: 2.183 MB / 2.179 GB, free: 45.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005776/4.262, allocations: 1.618 MB / 2.181 GB, free: 44.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/4.263, allocations: 1.348 MB / 2.182 GB, free: 44.87 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/4.263, allocations: 0 / 2.182 GB, free: 44.87 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5513/4.815, allocations: 124.2 MB / 2.303 GB, free: 95.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/4.815, allocations: 239.6 kB / 2.303 GB, free: 95.01 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.313/10.13, allocations: 0 / 2.303 GB, free: 95.01 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)