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.9135/0.9135, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001049/0.001049, allocations: 176.9 kB / 182.2 MB, free: 9.461 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.394/1.394, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.001065/0.001065, allocations: 84.09 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001882/0.001882, allocations: 280.5 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.615e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.4299, allocations: 82.76 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7983/1.228, allocations: 362.1 MB / 1.111 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/1.229, allocations: 94.75 kB / 1.111 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.537/4.765, allocations: 0.9424 GB / 2.054 GB, free: 69.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.964e-06/4.766, allocations: 0 / 2.054 GB, free: 69.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004761/4.766, allocations: 80.7 kB / 2.054 GB, free: 69.38 MB / 0.7136 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.008214/4.774, allocations: 3.19 MB / 2.057 GB, free: 67.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/4.774, allocations: 10.62 kB / 2.057 GB, free: 67.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005894/4.78, allocations: 0.8902 MB / 2.058 GB, free: 67.78 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04167/4.822, allocations: 19.86 MB / 2.077 GB, free: 66.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/4.822, allocations: 52.72 kB / 2.077 GB, free: 66.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004801/4.823, allocations: 107.9 kB / 2.077 GB, free: 66.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002689/4.825, allocations: 1.61 MB / 2.079 GB, free: 66.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/4.828, allocations: 1.842 MB / 2.081 GB, free: 66.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/4.828, allocations: 13 kB / 2.081 GB, free: 66.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/4.828, allocations: 3.953 kB / 2.081 GB, free: 66.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/4.828, allocations: 44.23 kB / 2.081 GB, free: 66.17 MB / 0.7136 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.01361/4.842, allocations: 9.981 MB / 2.09 GB, free: 62.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/4.844, allocations: 1.666 MB / 2.092 GB, free: 62.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007717/4.845, allocations: 0.72 MB / 2.093 GB, free: 62.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005329/4.85, allocations: 3.991 MB / 2.097 GB, free: 60.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/4.85, allocations: 45.78 kB / 2.097 GB, free: 60.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001137/4.852, allocations: 154.4 kB / 2.097 GB, free: 60.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=84): time 2.735e-06/4.852, allocations: 0 / 2.097 GB, free: 60.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84): time 0.005173/4.857, allocations: 2.169 MB / 2.099 GB, free: 60.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/4.857, allocations: 63.98 kB / 2.099 GB, free: 60.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004784/4.862, allocations: 3.449 MB / 2.102 GB, free: 59.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001619/4.862, allocations: 25.7 kB / 2.102 GB, free: 59.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/4.863, allocations: 1.589 MB / 2.104 GB, free: 59.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/4.863, allocations: 286.6 kB / 2.104 GB, free: 59.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-05/4.863, allocations: 0 / 2.104 GB, free: 59.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/4.863, allocations: 374.1 kB / 2.105 GB, free: 58.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008788/4.864, allocations: 0.7481 MB / 2.105 GB, free: 58.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/4.865, allocations: 1.511 MB / 2.107 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/4.868, allocations: 1.072 MB / 2.108 GB, free: 58.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/4.868, allocations: 7 kB / 2.108 GB, free: 58.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005371/4.873, allocations: 2.79 MB / 2.111 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001869/4.875, allocations: 9.362 MB / 2.12 GB, free: 48.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.071e-05/4.875, allocations: 22.03 kB / 2.12 GB, free: 48.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/4.876, allocations: 442.7 kB / 2.12 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/4.877, allocations: 368.8 kB / 2.12 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/4.879, allocations: 2.38 MB / 2.123 GB, free: 46.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/4.882, allocations: 146.5 kB / 2.123 GB, free: 46.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/4.882, allocations: 159.8 kB / 2.123 GB, free: 46.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/4.882, allocations: 2.875 kB / 2.123 GB, free: 46.41 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005119/4.887, allocations: 2.144 MB / 2.125 GB, free: 46.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.8e-05/4.887, allocations: 20.53 kB / 2.125 GB, free: 46.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/4.888, allocations: 497.4 kB / 2.126 GB, free: 46.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/4.89, allocations: 344.6 kB / 2.126 GB, free: 46.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00623/4.896, allocations: 5.098 MB / 2.131 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/4.898, allocations: 132.1 kB / 2.131 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/4.898, allocations: 139.4 kB / 2.131 GB, free: 43.57 MB / 0.7136 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0004656/4.899, allocations: 175.3 kB / 2.131 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004739/4.903, allocations: 1.688 MB / 2.133 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005903/4.904, allocations: 313.5 kB / 2.133 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006025/4.91, allocations: 2.098 MB / 2.135 GB, free: 42.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/4.91, allocations: 11.31 kB / 2.135 GB, free: 42.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/4.91, allocations: 13.59 kB / 2.135 GB, free: 42.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/4.91, allocations: 3.938 kB / 2.135 GB, free: 42.86 MB / 0.7136 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.01117/4.921, allocations: 4.438 MB / 2.14 GB, free: 42.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/4.921, allocations: 3 kB / 2.14 GB, free: 42.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009165/4.922, allocations: 187.7 kB / 2.14 GB, free: 42.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006089/4.923, allocations: 269.1 kB / 2.14 GB, free: 42.42 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.625e-05/4.923, allocations: 29.03 kB / 2.14 GB, free: 42.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/4.924, allocations: 2.018 MB / 2.142 GB, free: 40.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/4.924, allocations: 5.25 kB / 2.142 GB, free: 40.85 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004902/4.929, allocations: 2.662 MB / 2.145 GB, free: 40.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/4.931, allocations: 0.7047 MB / 2.145 GB, free: 40.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008248/4.932, allocations: 11.83 kB / 2.145 GB, free: 40.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/4.934, allocations: 134.7 kB / 2.146 GB, free: 40.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/4.934, allocations: 74.61 kB / 2.146 GB, free: 40.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/4.934, allocations: 58.48 kB / 2.146 GB, free: 40.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004491/4.939, allocations: 2.578 MB / 2.148 GB, free: 39.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/4.939, allocations: 0 / 2.148 GB, free: 39.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006173/4.945, allocations: 1.619 MB / 2.15 GB, free: 39.64 MB / 0.7136 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.008117/4.953, allocations: 4.975 MB / 2.155 GB, free: 37.99 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004508/4.958, allocations: 2.947 MB / 2.158 GB, free: 37.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/4.958, allocations: 3.938 kB / 2.158 GB, free: 37.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009871/4.959, allocations: 0.6235 MB / 2.158 GB, free: 37.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006638/4.965, allocations: 1.52 MB / 2.16 GB, free: 37.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/4.978, allocations: 4.978 MB / 2.165 GB, free: 36.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002847/4.981, allocations: 2.175 MB / 2.167 GB, free: 35.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.006767/4.988, allocations: 1.585 MB / 2.168 GB, free: 35.49 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/4.99, allocations: 1.351 MB / 2.17 GB, free: 35.48 MB / 0.7136 GB Notification: Performance of SimCode: time 1.273e-06/4.99, allocations: 0 / 2.17 GB, free: 35.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6735/5.663, allocations: 106 MB / 2.273 GB, free: 100.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/5.663, allocations: 182.8 kB / 2.273 GB, free: 100.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.814/11.48, allocations: 0 / 2.273 GB, free: 100.2 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)