Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_latest_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.001541/0.001541, allocations: 108 kB / 15.6 MB, free: 132 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.001781/0.001781, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.782/2.782, allocations: 469.4 MB / 0.742 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00227/0.002271, allocations: 58.02 kB / 0.9082 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3299, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.07563/0.4056, allocations: 79.36 MB / 1.141 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0396/0.4452, allocations: 28.41 MB / 1.169 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004578/0.4498, allocations: 127.3 kB / 1.169 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01886/0.4687, allocations: 11.46 MB / 1.18 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.009929/0.4787, allocations: 3.767 MB / 1.184 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.007654/0.4864, allocations: 3.089 MB / 1.187 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.03028/0.5167, allocations: 20.14 MB / 1.207 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005822/0.5225, allocations: 2.715 MB / 1.209 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006783/0.5293, allocations: 3.088 MB / 1.212 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003853/0.5332, allocations: 2.517 MB / 1.215 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.5343, allocations: 368 kB / 1.215 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006417/0.5408, allocations: 2.929 MB / 1.218 GB, free: 148 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002049/0.5428, allocations: 1.796 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003955/0.5468, allocations: 2.674 MB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.5572, allocations: 8.35 MB / 1.23 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.5572, allocations: 0 / 1.23 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5572, allocations: 0 / 1.23 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002686/0.5575, allocations: 0 / 1.23 GB, free: 3.281 MB / 0.9825 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.01477/0.5723, allocations: 5.924 MB / 1.236 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.5724, allocations: 8.031 kB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003844/0.5727, allocations: 228.2 kB / 1.236 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008975/0.5817, allocations: 1.547 MB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.5957, allocations: 8.318 MB / 1.246 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005114/0.5963, allocations: 203.8 kB / 1.246 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004095/0.5967, allocations: 188 kB / 1.246 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.547/1.144, allocations: 2.616 MB / 1.249 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/1.144, allocations: 2.109 kB / 1.249 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006564/1.144, allocations: 70.72 kB / 1.249 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-05/1.145, allocations: 41.84 kB / 1.249 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006394/1.151, allocations: 2.032 MB / 1.251 GB, free: 174.3 MB / 0.9981 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.01904/1.17, allocations: 12.2 MB / 1.263 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005064/1.175, allocations: 1.736 MB / 1.265 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/1.177, allocations: 0.8118 MB / 1.265 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006707/1.184, allocations: 4.229 MB / 1.27 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/1.184, allocations: 37.72 kB / 1.27 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.076e-06/1.184, allocations: 2.375 kB / 1.27 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.00895/1.193, allocations: 2.825 MB / 1.272 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/1.193, allocations: 61.56 kB / 1.272 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01222/1.205, allocations: 7.06 MB / 1.279 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000495/1.206, allocations: 54.7 kB / 1.279 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001862/1.208, allocations: 2.036 MB / 1.281 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005038/1.208, allocations: 306.6 kB / 1.282 GB, free: 161 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/1.209, allocations: 0.7566 MB / 1.282 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.466e-05/1.209, allocations: 309 kB / 1.283 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003609/1.213, allocations: 2.196 MB / 1.285 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004017/1.217, allocations: 3.084 MB / 1.288 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007236/1.224, allocations: 4.891 MB / 1.293 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.588e-05/1.224, allocations: 7.781 kB / 1.293 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=432) (initialization): time 0.0107/1.235, allocations: 5.954 MB / 1.299 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/1.235, allocations: 11.81 kB / 1.299 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/1.235, allocations: 23.53 kB / 1.299 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007695/1.236, allocations: 410.3 kB / 1.299 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/1.238, allocations: 0.6211 MB / 1.3 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006877/1.239, allocations: 0.9053 MB / 1.3 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/1.243, allocations: 426.1 kB / 1.301 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002985/1.243, allocations: 170.6 kB / 1.301 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004448/1.247, allocations: 3.009 MB / 1.304 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003341/1.251, allocations: 2.875 MB / 1.307 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005854/1.257, allocations: 4.452 MB / 1.311 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-05/1.257, allocations: 7.438 kB / 1.311 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=432) (initialization_lambda0): time 0.00861/1.265, allocations: 5.538 MB / 1.316 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.265, allocations: 16 kB / 1.317 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/1.265, allocations: 20 kB / 1.317 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009325/1.266, allocations: 449 kB / 1.317 GB, free: 139.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/1.268, allocations: 0.6007 MB / 1.318 GB, free: 138.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006296/1.275, allocations: 6.116 MB / 1.324 GB, free: 132.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004042/1.279, allocations: 340.2 kB / 1.324 GB, free: 132 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003791/1.279, allocations: 160 kB / 1.324 GB, free: 131.9 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.0006939/1.28, allocations: 323.8 kB / 1.324 GB, free: 131.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/1.281, allocations: 446 kB / 1.325 GB, free: 131.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006333/1.287, allocations: 2.498 MB / 1.327 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/1.287, allocations: 11.94 kB / 1.327 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/1.287, allocations: 0 / 1.327 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/1.287, allocations: 15.97 kB / 1.327 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/1.298, allocations: 5.277 MB / 1.332 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.298, allocations: 0 / 1.332 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/1.299, allocations: 267.8 kB / 1.333 GB, free: 123 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/1.3, allocations: 172.6 kB / 1.333 GB, free: 122.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.225e-05/1.3, allocations: 31.97 kB / 1.333 GB, free: 122.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004584/1.3, allocations: 0.8162 MB / 1.334 GB, free: 122 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.3, allocations: 4 kB / 1.334 GB, free: 122 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007405/1.308, allocations: 3.436 MB / 1.337 GB, free: 118.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/1.309, allocations: 0.7954 MB / 1.338 GB, free: 117.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006265/1.31, allocations: 16 kB / 1.338 GB, free: 117.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/1.312, allocations: 151.8 kB / 1.338 GB, free: 117.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/1.312, allocations: 68.84 kB / 1.338 GB, free: 117.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.312, allocations: 55.94 kB / 1.338 GB, free: 117.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005659/1.318, allocations: 4.931 MB / 1.343 GB, free: 112.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.2e-07/1.318, allocations: 3.938 kB / 1.343 GB, free: 112.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005321/1.323, allocations: 2.081 MB / 1.345 GB, free: 110.5 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.009139/1.333, allocations: 4.738 MB / 1.349 GB, free: 105.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01022/1.343, allocations: 6.3 MB / 1.356 GB, free: 99.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.343, allocations: 0 / 1.356 GB, free: 99.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002217/1.345, allocations: 0.8922 MB / 1.357 GB, free: 98.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008413/1.354, allocations: 2.358 MB / 1.359 GB, free: 96.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06461/1.418, allocations: 52.87 MB / 1.41 GB, free: 40.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/1.42, allocations: 2.671 MB / 1.413 GB, free: 37.45 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00541/1.426, allocations: 1.21 MB / 1.414 GB, free: 36.24 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002644/1.428, allocations: 1.999 MB / 1.416 GB, free: 34.24 MB / 0.9981 GB Notification: Performance of SimCode: time 9.21e-07/1.428, allocations: 0 / 1.416 GB, free: 34.24 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2144/1.643, allocations: 137.7 MB / 1.551 GB, free: 9.965 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/17.09, allocations: 64 / 1.551 GB, free: 9.965 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)