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.32/2.32, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001279/0.001279, allocations: 176.9 kB / 492.3 MB, free: 0.625 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.424/1.424, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009154/0.0009154, allocations: 82.83 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.401e-05, allocations: 11.98 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2371, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.159/1.396, allocations: 403.6 MB / 1.607 GB, free: 9.715 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/1.396, allocations: 90.86 kB / 1.607 GB, free: 9.672 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.191/4.587, allocations: 0.9452 GB / 2.552 GB, free: 66.31 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.583e-06/4.587, allocations: 0 / 2.552 GB, free: 66.31 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005845/4.588, allocations: 83.86 kB / 2.552 GB, free: 66.23 MB / 1.151 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.009146/4.597, allocations: 3.184 MB / 2.555 GB, free: 62.99 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/4.597, allocations: 12.03 kB / 2.555 GB, free: 62.98 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007717/4.598, allocations: 216 kB / 2.555 GB, free: 62.75 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007039/4.605, allocations: 1.166 MB / 2.557 GB, free: 61.58 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04078/4.646, allocations: 20.05 MB / 2.576 GB, free: 41.32 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/4.646, allocations: 143.1 kB / 2.576 GB, free: 41.18 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006723/4.647, allocations: 181 kB / 2.576 GB, free: 41 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004208/4.651, allocations: 2.089 MB / 2.578 GB, free: 38.81 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/4.651, allocations: 7.875 kB / 2.578 GB, free: 38.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/4.651, allocations: 67.95 kB / 2.579 GB, free: 38.73 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/4.651, allocations: 40 kB / 2.579 GB, free: 38.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/4.654, allocations: 1.441 MB / 2.58 GB, free: 37.25 MB / 1.151 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.01963/4.673, allocations: 10.47 MB / 2.59 GB, free: 26.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/4.676, allocations: 1.212 MB / 2.591 GB, free: 25.07 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007027/4.676, allocations: 0.5393 MB / 2.592 GB, free: 24.54 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006069/4.682, allocations: 4.131 MB / 2.596 GB, free: 20.13 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/4.682, allocations: 43.28 kB / 2.596 GB, free: 20.08 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001393/4.684, allocations: 206.5 kB / 2.596 GB, free: 19.88 MB / 1.151 GB Notification: Performance of pre-optimization done (n=84): time 4.308e-06/4.684, allocations: 0 / 2.596 GB, free: 19.88 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.003901/4.688, allocations: 1.611 MB / 2.598 GB, free: 18.25 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/4.688, allocations: 64.17 kB / 2.598 GB, free: 18.17 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006458/4.694, allocations: 3.729 MB / 2.601 GB, free: 14.42 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002435/4.695, allocations: 53.7 kB / 2.602 GB, free: 14.36 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001283/4.696, allocations: 1.62 MB / 2.603 GB, free: 12.72 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/4.696, allocations: 299.6 kB / 2.603 GB, free: 12.42 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/4.696, allocations: 28 kB / 2.603 GB, free: 12.39 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001118/4.696, allocations: 373.9 kB / 2.604 GB, free: 12.02 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008602/4.697, allocations: 0.5857 MB / 2.604 GB, free: 11.44 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/4.698, allocations: 1.373 MB / 2.606 GB, free: 9.703 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/4.699, allocations: 0.7444 MB / 2.606 GB, free: 8.961 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/4.7, allocations: 8 kB / 2.606 GB, free: 8.953 MB / 1.151 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004122/4.704, allocations: 2.35 MB / 2.609 GB, free: 6.586 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.00224/4.706, allocations: 9.439 MB / 2.618 GB, free: 12.51 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/4.706, allocations: 20 kB / 2.618 GB, free: 12.49 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/4.707, allocations: 370.2 kB / 2.618 GB, free: 12.12 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/4.709, allocations: 395.4 kB / 2.619 GB, free: 11.73 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/4.711, allocations: 2.105 MB / 2.621 GB, free: 9.555 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/4.714, allocations: 199.8 kB / 2.621 GB, free: 9.359 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/4.714, allocations: 155.9 kB / 2.621 GB, free: 9.207 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/4.714, allocations: 4 kB / 2.621 GB, free: 9.203 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004528/4.718, allocations: 2.219 MB / 2.623 GB, free: 6.977 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.363e-05/4.718, allocations: 23.95 kB / 2.623 GB, free: 6.953 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/4.72, allocations: 0.5107 MB / 2.624 GB, free: 6.434 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/4.721, allocations: 371.4 kB / 2.624 GB, free: 6.07 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007486/4.729, allocations: 5.214 MB / 2.629 GB, free: 0.582 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003369/4.732, allocations: 195.8 kB / 2.629 GB, free: 400 kB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003646/4.733, allocations: 132 kB / 2.63 GB, free: 268 kB / 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 () * 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.0006861/4.733, allocations: 209.4 kB / 2.63 GB, free: 52 kB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.7702/5.504, allocations: 330.9 kB / 2.63 GB, free: 163.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006446/5.51, allocations: 2.134 MB / 2.632 GB, free: 163.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-05/5.51, allocations: 19.45 kB / 2.632 GB, free: 163.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/5.51, allocations: 0 / 2.632 GB, free: 163.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/5.51, allocations: 9.484 kB / 2.632 GB, free: 163.5 MB / 1.167 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.01124/5.521, allocations: 4.7 MB / 2.637 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/5.521, allocations: 0 / 2.637 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/5.523, allocations: 210.6 kB / 2.637 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009136/5.524, allocations: 313 kB / 2.637 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/5.524, allocations: 37.88 kB / 2.637 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/5.525, allocations: 1.982 MB / 2.639 GB, free: 161.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/5.525, allocations: 3.438 kB / 2.639 GB, free: 161.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006145/5.531, allocations: 2.778 MB / 2.642 GB, free: 161.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002337/5.534, allocations: 0.7206 MB / 2.643 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000724/5.534, allocations: 21.8 kB / 2.643 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/5.536, allocations: 185.5 kB / 2.643 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/5.537, allocations: 70.38 kB / 2.643 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/5.537, allocations: 60.48 kB / 2.643 GB, free: 160.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005577/5.542, allocations: 2.845 MB / 2.646 GB, free: 160.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.81e-07/5.542, allocations: 3.094 kB / 2.646 GB, free: 160.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007517/5.55, allocations: 1.692 MB / 2.647 GB, free: 160.5 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 () * 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.01017/5.56, allocations: 5.124 MB / 2.652 GB, free: 159 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006619/5.567, allocations: 2.94 MB / 2.655 GB, free: 158.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/5.567, allocations: 0.9062 kB / 2.655 GB, free: 158.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/5.568, allocations: 0.6655 MB / 2.656 GB, free: 158.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008844/5.577, allocations: 1.63 MB / 2.658 GB, free: 158.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/5.591, allocations: 5.139 MB / 2.663 GB, free: 157.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002136/5.593, allocations: 2.187 MB / 2.665 GB, free: 156.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.007679/5.601, allocations: 1.632 MB / 2.666 GB, free: 156.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/5.603, allocations: 1.365 MB / 2.668 GB, free: 156.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.253e-06/5.603, allocations: 0 / 2.668 GB, free: 156.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2431/5.846, allocations: 124.7 MB / 2.789 GB, free: 152.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/5.846, allocations: 230.3 kB / 2.79 GB, free: 152.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6/11.85, allocations: 3.938 kB / 2.79 GB, free: 152.2 MB / 1.167 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