Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.3 MB / 405.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 179.9 kB / 498.1 MB, free: 5.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 223.2 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 92.08 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004026, allocations: 10.28 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2975, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9912/1.289, allocations: 403.7 MB / 1.617 GB, free: 7.297 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/1.289, allocations: 101.5 kB / 1.617 GB, free: 7.242 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.234/4.523, allocations: 0.9487 GB / 2.566 GB, free: 187.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.164e-06/4.523, allocations: 0 / 2.566 GB, free: 187.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008092/4.523, allocations: 85.09 kB / 2.566 GB, free: 187.3 MB / 1.167 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.01876/4.542, allocations: 5.662 MB / 2.572 GB, free: 181.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/4.542, allocations: 12.03 kB / 2.572 GB, free: 181.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001063/4.543, allocations: 224 kB / 2.572 GB, free: 181.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007586/4.551, allocations: 1.167 MB / 2.573 GB, free: 180.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04377/4.595, allocations: 20.21 MB / 2.593 GB, free: 160.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/4.595, allocations: 143.1 kB / 2.593 GB, free: 159.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008686/4.596, allocations: 184 kB / 2.593 GB, free: 159.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005947/4.602, allocations: 2.245 MB / 2.595 GB, free: 157.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-05/4.602, allocations: 7.891 kB / 2.595 GB, free: 157.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003824/4.602, allocations: 68 kB / 2.595 GB, free: 157.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/4.602, allocations: 39.09 kB / 2.595 GB, free: 157.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004691/4.607, allocations: 1.741 MB / 2.597 GB, free: 155.5 MB / 1.167 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.01786/4.625, allocations: 10.48 MB / 2.607 GB, free: 144.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003885/4.629, allocations: 1.477 MB / 2.609 GB, free: 143.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006947/4.636, allocations: 4.11 MB / 2.613 GB, free: 138.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/4.636, allocations: 43.5 kB / 2.613 GB, free: 138.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001656/4.638, allocations: 202.5 kB / 2.613 GB, free: 138.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=84): time 4.629e-06/4.638, allocations: 0 / 2.613 GB, free: 138.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.009992/4.648, allocations: 3.105 MB / 2.616 GB, free: 135.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/4.648, allocations: 64.34 kB / 2.616 GB, free: 135.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007441/4.655, allocations: 3.775 MB / 2.62 GB, free: 131.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004086/4.656, allocations: 53.69 kB / 2.62 GB, free: 131.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001535/4.657, allocations: 1.616 MB / 2.621 GB, free: 129.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004564/4.658, allocations: 299.7 kB / 2.622 GB, free: 129.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/4.658, allocations: 32 kB / 2.622 GB, free: 129.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001286/4.658, allocations: 369.9 kB / 2.622 GB, free: 129 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/4.66, allocations: 0.7417 MB / 2.623 GB, free: 128.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/4.662, allocations: 1.51 MB / 2.624 GB, free: 126.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/4.664, allocations: 0.8872 MB / 2.625 GB, free: 125.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/4.664, allocations: 7.953 kB / 2.625 GB, free: 125.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.00625/4.67, allocations: 2.663 MB / 2.628 GB, free: 122.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001846/4.672, allocations: 9.43 MB / 2.637 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.662e-05/4.672, allocations: 24 kB / 2.637 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/4.674, allocations: 389.4 kB / 2.637 GB, free: 112.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/4.675, allocations: 395.4 kB / 2.638 GB, free: 112 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/4.678, allocations: 2.145 MB / 2.64 GB, free: 109.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00402/4.682, allocations: 195.8 kB / 2.64 GB, free: 109.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004318/4.682, allocations: 163.9 kB / 2.64 GB, free: 109.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/4.682, allocations: 4 kB / 2.64 GB, free: 109.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006381/4.689, allocations: 2.502 MB / 2.643 GB, free: 106.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.192e-05/4.689, allocations: 20 kB / 2.643 GB, free: 106.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/4.69, allocations: 0.5252 MB / 2.643 GB, free: 106.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/4.692, allocations: 379.4 kB / 2.643 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006822/4.699, allocations: 5.385 MB / 2.649 GB, free: 100.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/4.702, allocations: 199.8 kB / 2.649 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004079/4.702, allocations: 139.9 kB / 2.649 GB, free: 100.1 MB / 1.167 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 () * Number of clocked 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.002243/4.705, allocations: 0.8833 MB / 2.65 GB, free: 99.16 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009477/4.706, allocations: 331.7 kB / 2.65 GB, free: 98.83 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007255/4.713, allocations: 2.451 MB / 2.653 GB, free: 96.38 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/4.713, allocations: 12 kB / 2.653 GB, free: 96.37 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/4.713, allocations: 0 / 2.653 GB, free: 96.37 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/4.713, allocations: 7.938 kB / 2.653 GB, free: 96.36 MB / 1.167 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.01211/4.725, allocations: 5.001 MB / 2.657 GB, free: 91.28 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/4.725, allocations: 0 / 2.657 GB, free: 91.28 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/4.726, allocations: 207.8 kB / 2.658 GB, free: 91.08 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/4.727, allocations: 345.3 kB / 2.658 GB, free: 90.74 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/4.727, allocations: 39.95 kB / 2.658 GB, free: 90.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/4.729, allocations: 2.012 MB / 2.66 GB, free: 88.61 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/4.729, allocations: 0 / 2.66 GB, free: 88.61 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007407/4.736, allocations: 3.214 MB / 2.663 GB, free: 85.32 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002009/4.738, allocations: 0.7229 MB / 2.664 GB, free: 84.58 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009164/4.739, allocations: 24.09 kB / 2.664 GB, free: 84.55 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002447/4.742, allocations: 191.2 kB / 2.664 GB, free: 84.37 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/4.742, allocations: 68.86 kB / 2.664 GB, free: 84.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/4.742, allocations: 63.94 kB / 2.664 GB, free: 84.24 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004949/4.747, allocations: 2.883 MB / 2.667 GB, free: 81.35 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/4.747, allocations: 0 / 2.667 GB, free: 81.35 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006939/4.754, allocations: 1.689 MB / 2.669 GB, free: 79.66 MB / 1.167 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 () * Number of clocked 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.01153/4.765, allocations: 5.582 MB / 2.674 GB, free: 74.05 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007503/4.773, allocations: 3.228 MB / 2.677 GB, free: 70.82 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/4.773, allocations: 320 / 2.677 GB, free: 70.82 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001816/4.775, allocations: 0.8137 MB / 2.678 GB, free: 70.01 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007492/4.782, allocations: 1.641 MB / 2.68 GB, free: 68.43 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/4.801, allocations: 22.63 MB / 2.702 GB, free: 45.25 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/4.804, allocations: 2.181 MB / 2.704 GB, free: 43.05 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004943/4.809, allocations: 0.9038 MB / 2.705 GB, free: 42.26 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002323/4.811, allocations: 1.448 MB / 2.706 GB, free: 40.82 MB / 1.167 GB Notification: Performance of SimCode: time 1.423e-06/4.811, allocations: 0 / 2.706 GB, free: 40.82 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8607/5.672, allocations: 116 MB / 2.819 GB, free: 184 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/5.672, allocations: 255.2 kB / 2.82 GB, free: 183.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.979/11.65, allocations: 1.406 kB / 2.82 GB, free: 183.6 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat does not exist to compare? outputFormat=mat