Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json 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/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001509, allocations: 63.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6737/0.6752, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.07365/0.7489, allocations: 79.36 MB / 1.095 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.04603/0.795, allocations: 28.4 MB / 1.123 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006769/0.8018, allocations: 123.4 kB / 1.123 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.02067/0.8225, allocations: 11.47 MB / 1.134 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01221/0.8348, allocations: 3.767 MB / 1.138 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008698/0.8435, allocations: 3.079 MB / 1.141 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.02999/0.8735, allocations: 20.15 MB / 1.16 GB, free: 15.78 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005834/0.8793, allocations: 2.711 MB / 1.163 GB, free: 13.01 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008372/0.8877, allocations: 3.077 MB / 1.166 GB, free: 9.93 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004726/0.8925, allocations: 2.521 MB / 1.168 GB, free: 7.398 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001747/0.8943, allocations: 364 kB / 1.169 GB, free: 7.043 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007911/0.9022, allocations: 2.929 MB / 1.172 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002555/0.9048, allocations: 1.796 MB / 1.173 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.005383/0.9102, allocations: 2.67 MB / 1.176 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01514/0.9253, allocations: 8.358 MB / 1.184 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.9254, allocations: 0 / 1.184 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.917e-06/0.9254, allocations: 0 / 1.184 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002678/0.9257, allocations: 3.938 kB / 1.184 GB, free: 7.238 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.01589/0.9416, allocations: 5.928 MB / 1.19 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.9416, allocations: 12.03 kB / 1.19 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00063/0.9423, allocations: 232.2 kB / 1.19 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00981/0.9521, allocations: 1.55 MB / 1.192 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01754/0.9697, allocations: 8.294 MB / 1.2 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006211/0.9704, allocations: 211.8 kB / 1.2 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008878/0.9713, allocations: 188 kB / 1.2 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007112/0.9784, allocations: 2.611 MB / 1.203 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.925e-05/0.9785, allocations: 3.938 kB / 1.203 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004229/0.9789, allocations: 67.94 kB / 1.203 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/0.979, allocations: 40 kB / 1.203 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006524/0.9855, allocations: 2.037 MB / 1.205 GB, free: 1.789 MB / 0.9512 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.02229/1.008, allocations: 12.2 MB / 1.217 GB, free: 5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005636/1.014, allocations: 1.752 MB / 1.218 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002252/1.016, allocations: 0.8012 MB / 1.219 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008317/1.024, allocations: 4.237 MB / 1.223 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/1.024, allocations: 43.16 kB / 1.223 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 3.857e-06/1.024, allocations: 0 / 1.223 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.009361/1.034, allocations: 2.825 MB / 1.226 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/1.034, allocations: 60.06 kB / 1.226 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01334/1.047, allocations: 7.063 MB / 1.233 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004814/1.048, allocations: 49.7 kB / 1.233 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002561/1.05, allocations: 2.03 MB / 1.235 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006641/1.051, allocations: 311.8 kB / 1.235 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001933/1.053, allocations: 0.753 MB / 1.236 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.571e-05/1.053, allocations: 301.1 kB / 1.236 GB, free: 448 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00412/1.057, allocations: 2.193 MB / 1.239 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0049/1.062, allocations: 3.094 MB / 1.242 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008454/1.07, allocations: 4.883 MB / 1.246 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.093e-05/1.07, allocations: 8 kB / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=432) (initialization): time 0.5672/1.638, allocations: 5.961 MB / 1.252 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/1.638, allocations: 15.45 kB / 1.252 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-05/1.638, allocations: 21.56 kB / 1.252 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/1.639, allocations: 419.7 kB / 1.253 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/1.642, allocations: 0.6181 MB / 1.253 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000973/1.643, allocations: 0.8967 MB / 1.254 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003979/1.647, allocations: 423 kB / 1.255 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004405/1.647, allocations: 173.2 kB / 1.255 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005948/1.653, allocations: 3.008 MB / 1.258 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004662/1.658, allocations: 2.864 MB / 1.26 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008642/1.667, allocations: 4.451 MB / 1.265 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.308e-05/1.667, allocations: 8.75 kB / 1.265 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=432) (initialization_lambda0): time 0.01094/1.678, allocations: 5.523 MB / 1.27 GB, free: 212 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/1.678, allocations: 18.33 kB / 1.27 GB, free: 212 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.833e-05/1.678, allocations: 21.69 kB / 1.27 GB, free: 212 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/1.679, allocations: 454.6 kB / 1.271 GB, free: 211.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/1.681, allocations: 0.5993 MB / 1.271 GB, free: 211.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007476/1.689, allocations: 6.136 MB / 1.277 GB, free: 208.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004184/1.693, allocations: 336.6 kB / 1.278 GB, free: 208.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003869/1.693, allocations: 156.4 kB / 1.278 GB, free: 208.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (305): * Single equations (assignments): 295 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006788/1.694, allocations: 323.7 kB / 1.278 GB, free: 208.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.695, allocations: 447.2 kB / 1.278 GB, free: 207.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006651/1.702, allocations: 2.495 MB / 1.281 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/1.702, allocations: 11.66 kB / 1.281 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.702, allocations: 0 / 1.281 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/1.702, allocations: 7.547 kB / 1.281 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/1.713, allocations: 5.292 MB / 1.286 GB, free: 205 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/1.713, allocations: 0 / 1.286 GB, free: 205 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.714, allocations: 270.2 kB / 1.286 GB, free: 205 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003366/1.715, allocations: 171.3 kB / 1.286 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.172e-05/1.715, allocations: 32 kB / 1.287 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005063/1.715, allocations: 0.814 MB / 1.287 GB, free: 204.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.715, allocations: 2.688 kB / 1.287 GB, free: 204.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008153/1.724, allocations: 3.438 MB / 1.291 GB, free: 202.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/1.725, allocations: 0.7889 MB / 1.291 GB, free: 202.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005962/1.726, allocations: 23.22 kB / 1.291 GB, free: 202.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/1.728, allocations: 143.4 kB / 1.292 GB, free: 202.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/1.728, allocations: 73.42 kB / 1.292 GB, free: 202.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.728, allocations: 55.5 kB / 1.292 GB, free: 202.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006151/1.734, allocations: 4.934 MB / 1.297 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.5e-07/1.734, allocations: 0 / 1.297 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005752/1.74, allocations: 2.077 MB / 1.299 GB, free: 197.8 MB / 0.9981 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_dy.x,dm_flow_dy.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 (96): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00908/1.749, allocations: 4.735 MB / 1.303 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.76, allocations: 6.296 MB / 1.309 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.76, allocations: 0 / 1.309 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002187/1.762, allocations: 0.8933 MB / 1.31 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009084/1.771, allocations: 2.37 MB / 1.313 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07566/1.847, allocations: 52.88 MB / 1.364 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/1.849, allocations: 2.671 MB / 1.367 GB, free: 124.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005686/1.854, allocations: 1.215 MB / 1.368 GB, free: 123.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002983/1.857, allocations: 1.987 MB / 1.37 GB, free: 121.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.857, allocations: 0 / 1.37 GB, free: 121.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.194/2.051, allocations: 137.7 MB / 1.504 GB, free: 1.402 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/17.22, allocations: 15.53 kB / 1.504 GB, free: 1.391 MB / 1.014 GB (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)