Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 289.9 MB / 297.4 MB, free: 6.371 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 180.8 kB / 366.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.2 MB / 0.626 GB, free: 7.117 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009846/0.0009846, allocations: 94.31 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/2.008e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7393/0.7393, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.917, allocations: 405.4 MB / 1.369 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/1.917, allocations: 90.75 kB / 1.369 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.175/5.092, allocations: 0.9238 GB / 2.293 GB, free: 45.45 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/5.092, allocations: 0 / 2.293 GB, free: 45.45 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008294/5.093, allocations: 83.92 kB / 2.293 GB, free: 45.37 MB / 0.948 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.01187/5.105, allocations: 3.175 MB / 2.296 GB, free: 42.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/5.105, allocations: 8.031 kB / 2.296 GB, free: 42.13 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005657/5.11, allocations: 0.9041 MB / 2.297 GB, free: 41.22 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04049/5.151, allocations: 19.58 MB / 2.316 GB, free: 21.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.873e-05/5.151, allocations: 56 kB / 2.316 GB, free: 21.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004981/5.151, allocations: 108 kB / 2.317 GB, free: 21.29 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002634/5.154, allocations: 1.603 MB / 2.318 GB, free: 19.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/5.157, allocations: 1.84 MB / 2.32 GB, free: 17.74 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/5.157, allocations: 0 / 2.32 GB, free: 17.74 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/5.157, allocations: 4 kB / 2.32 GB, free: 17.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/5.157, allocations: 40 kB / 2.32 GB, free: 17.7 MB / 0.948 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.01455/5.172, allocations: 9.983 MB / 2.33 GB, free: 7.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/5.174, allocations: 1.69 MB / 2.331 GB, free: 5.547 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007772/5.175, allocations: 0.7112 MB / 2.332 GB, free: 4.836 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005907/5.181, allocations: 3.987 MB / 2.336 GB, free: 0.5781 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/5.181, allocations: 39.34 kB / 2.336 GB, free: 0.5312 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001387/5.182, allocations: 162.8 kB / 2.336 GB, free: 380 kB / 0.948 GB Notification: Performance of pre-optimization done (n=84): time 4.739e-06/5.182, allocations: 0 / 2.336 GB, free: 380 kB / 0.948 GB Notification: Performance of matching and sorting (n=84): time 0.005931/5.188, allocations: 2.169 MB / 2.338 GB, free: 14.18 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/5.188, allocations: 60.19 kB / 2.338 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006506/5.195, allocations: 3.444 MB / 2.342 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005307/5.195, allocations: 25.7 kB / 2.342 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/5.197, allocations: 1.592 MB / 2.343 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005619/5.198, allocations: 287.7 kB / 2.343 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.366e-05/5.198, allocations: 0 / 2.343 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002001/5.198, allocations: 369.9 kB / 2.344 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/5.199, allocations: 0.7497 MB / 2.345 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/5.201, allocations: 1.515 MB / 2.346 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002902/5.204, allocations: 1.077 MB / 2.347 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-05/5.204, allocations: 4 kB / 2.347 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006923/5.211, allocations: 2.793 MB / 2.35 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.744/5.955, allocations: 9.333 MB / 2.359 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.941e-05/5.955, allocations: 24.59 kB / 2.359 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/5.956, allocations: 446.4 kB / 2.359 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/5.958, allocations: 365.7 kB / 2.36 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/5.96, allocations: 2.378 MB / 2.362 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/5.964, allocations: 142.2 kB / 2.362 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004303/5.964, allocations: 160.8 kB / 2.362 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/5.964, allocations: 4.312 kB / 2.362 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005812/5.97, allocations: 2.15 MB / 2.364 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.535e-05/5.97, allocations: 21.25 kB / 2.364 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/5.971, allocations: 491.1 kB / 2.365 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/5.973, allocations: 347.7 kB / 2.365 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007624/5.98, allocations: 5.09 MB / 2.37 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003404/5.984, allocations: 133.6 kB / 2.37 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003804/5.984, allocations: 138 kB / 2.371 GB, free: 110.9 MB / 0.9636 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.0006439/5.985, allocations: 174.2 kB / 2.371 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005514/5.99, allocations: 1.696 MB / 2.372 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000862/5.991, allocations: 311.9 kB / 2.373 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006124/5.997, allocations: 2.099 MB / 2.375 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/5.997, allocations: 15.22 kB / 2.375 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/5.997, allocations: 3.875 kB / 2.375 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/5.997, allocations: 7.734 kB / 2.375 GB, free: 110.5 MB / 0.9636 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.009648/6.007, allocations: 4.433 MB / 2.379 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/6.007, allocations: 0 / 2.379 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009413/6.008, allocations: 192.8 kB / 2.379 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006603/6.009, allocations: 270.3 kB / 2.379 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.43e-05/6.009, allocations: 25.03 kB / 2.38 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/6.01, allocations: 2.021 MB / 2.381 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/6.01, allocations: 3.281 kB / 2.381 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005768/6.016, allocations: 2.672 MB / 2.384 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00217/6.018, allocations: 0.6953 MB / 2.385 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005227/6.019, allocations: 5.453 kB / 2.385 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/6.021, allocations: 137.6 kB / 2.385 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/6.021, allocations: 70.3 kB / 2.385 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/6.021, allocations: 63.33 kB / 2.385 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004968/6.026, allocations: 2.576 MB / 2.388 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.31e-07/6.026, allocations: 3.188 kB / 2.388 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007062/6.033, allocations: 1.618 MB / 2.389 GB, free: 107.4 MB / 0.9636 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.007954/6.041, allocations: 4.966 MB / 2.394 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004731/6.046, allocations: 2.948 MB / 2.397 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/6.046, allocations: 0 / 2.397 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/6.047, allocations: 0.6199 MB / 2.397 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006625/6.054, allocations: 1.523 MB / 2.399 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/6.065, allocations: 4.962 MB / 2.404 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001912/6.067, allocations: 2.178 MB / 2.406 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.007167/6.074, allocations: 1.577 MB / 2.407 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001985/6.076, allocations: 1.347 MB / 2.409 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of SimCode: time 9.62e-07/6.076, allocations: 1.375 kB / 2.409 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2055/6.282, allocations: 105.9 MB / 2.512 GB, free: 98.89 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/6.282, allocations: 170.8 kB / 2.512 GB, free: 98.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.347/12.63, allocations: 3.938 kB / 2.512 GB, free: 98.7 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)