Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.PumpCurveConstruction,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",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.001057/0.001057, 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.001146/0.001146, allocations: 196.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 70.69 kB / 0.6716 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2081, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1057/0.3138, allocations: 103.1 MB / 0.8842 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.4747/0.7886, allocations: 35.98 MB / 0.9193 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006376/0.795, allocations: 160 kB / 0.9195 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006166/0.8013, allocations: 1.979 MB / 0.9214 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01512/0.8164, allocations: 4.892 MB / 0.9262 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.8267, allocations: 3.781 MB / 0.9299 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01614/0.8429, allocations: 9.282 MB / 0.939 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008059/0.851, allocations: 3.495 MB / 0.9424 GB, free: 22.45 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01107/0.8621, allocations: 3.892 MB / 0.9462 GB, free: 22.14 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006185/0.8683, allocations: 2.948 MB / 0.949 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001508/0.8698, allocations: 392.3 kB / 0.9494 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008072/0.8779, allocations: 2.554 MB / 0.9519 GB, free: 21.59 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002652/0.8806, allocations: 1.241 MB / 0.9531 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.005909/0.8866, allocations: 2.238 MB / 0.9553 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.8991, allocations: 6.796 MB / 0.9619 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.8992, allocations: 0 / 0.9619 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8992, allocations: 0 / 0.9619 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002402/0.8994, allocations: 2.156 kB / 0.9619 GB, free: 19.1 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01102/0.9104, allocations: 4.763 MB / 0.9666 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.9105, allocations: 14.73 kB / 0.9666 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003624/0.9109, allocations: 286.4 kB / 0.9669 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006167/0.9171, allocations: 1.152 MB / 0.968 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008826/0.9259, allocations: 3.754 MB / 0.9717 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.9262, allocations: 183.9 kB / 0.9719 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007828/0.927, allocations: 229 kB / 0.9721 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006028/0.933, allocations: 2.598 MB / 0.9746 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.47e-05/0.9331, allocations: 5.312 kB / 0.9746 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.9333, allocations: 91.44 kB / 0.9747 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/0.9334, allocations: 51.91 kB / 0.9748 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004483/0.9379, allocations: 1.907 MB / 0.9766 GB, free: 10.11 MB / 0.7325 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.01783/0.9557, allocations: 12.43 MB / 0.9888 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003609/0.9594, allocations: 1.437 MB / 0.9902 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/0.9611, allocations: 0.6706 MB / 0.9908 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007332/0.9685, allocations: 3.624 MB / 0.9944 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.9686, allocations: 42.56 kB / 0.9944 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=104): time 2.875e-06/0.9686, allocations: 4 kB / 0.9944 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=104): time 0.009588/0.9782, allocations: 2.823 MB / 0.9972 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.9783, allocations: 66.52 kB / 0.9972 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007588/0.9859, allocations: 3.219 MB / 1 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005387/0.9865, allocations: 53.7 kB / 1 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001605/0.9881, allocations: 1.707 MB / 1.002 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006973/0.9888, allocations: 359.5 kB / 1.002 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007858/0.9896, allocations: 440.2 kB / 1.003 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.9898, allocations: 313 kB / 1.003 GB, free: 5.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/0.9919, allocations: 0.985 MB / 1.004 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/0.9946, allocations: 1.641 MB / 1.006 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004961/0.9996, allocations: 2.528 MB / 1.008 GB, free: 280 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/0.9996, allocations: 4 kB / 1.008 GB, free: 276 kB / 0.7481 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.01091/1.011, allocations: 3.244 MB / 1.011 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/1.011, allocations: 14.66 kB / 1.011 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.564e-05/1.011, allocations: 16 kB / 1.011 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/1.012, allocations: 0.5544 MB / 1.012 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/1.015, allocations: 411.3 kB / 1.012 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/1.018, allocations: 2.592 MB / 1.015 GB, free: 9.332 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004913/1.023, allocations: 249.2 kB / 1.015 GB, free: 9.09 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007381/1.024, allocations: 135.9 kB / 1.015 GB, free: 8.957 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005902/1.03, allocations: 1.451 MB / 1.017 GB, free: 7.504 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003571/1.033, allocations: 1.481 MB / 1.018 GB, free: 5.738 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005284/1.039, allocations: 2.208 MB / 1.02 GB, free: 3.305 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.385e-05/1.039, allocations: 4 kB / 1.02 GB, free: 3.301 MB / 0.7637 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.01093/1.05, allocations: 2.951 MB / 1.023 GB, free: 356 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/1.05, allocations: 12 kB / 1.023 GB, free: 344 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.371e-05/1.05, allocations: 16 kB / 1.023 GB, free: 328 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003226/1.053, allocations: 0.6677 MB / 1.024 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/1.056, allocations: 387.4 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02331/1.079, allocations: 11.86 MB / 1.036 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003537/1.082, allocations: 174.8 kB / 1.036 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005536/1.083, allocations: 120 kB / 1.036 GB, free: 2.461 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (196): * Single equations (assignments): 188 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001028/1.084, allocations: 295.6 kB / 1.036 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001395/1.085, allocations: 335.6 kB / 1.037 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009792/1.095, allocations: 2.468 MB / 1.039 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.834e-05/1.095, allocations: 15.98 kB / 1.039 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/1.095, allocations: 4 kB / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.894e-05/1.095, allocations: 7.922 kB / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/1.112, allocations: 4.54 MB / 1.043 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.112, allocations: 0 / 1.043 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/1.114, allocations: 235.7 kB / 1.044 GB, free: 10.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/1.115, allocations: 335.1 kB / 1.044 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000204/1.115, allocations: 43.95 kB / 1.044 GB, free: 10.12 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/1.118, allocations: 2.5 MB / 1.047 GB, free: 7.52 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.118, allocations: 256 / 1.047 GB, free: 7.52 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007396/1.125, allocations: 2.235 MB / 1.049 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001697/1.127, allocations: 0.5743 MB / 1.049 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008089/1.128, allocations: 20 kB / 1.049 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/1.13, allocations: 87.81 kB / 1.049 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/1.13, allocations: 85.14 kB / 1.049 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/1.13, allocations: 67.94 kB / 1.05 GB, free: 4.398 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.004526/1.135, allocations: 2.146 MB / 1.052 GB, free: 2.242 MB / 0.795 GB Notification: Performance of sort global known variables: time 6.32e-07/1.135, allocations: 0 / 1.052 GB, free: 2.242 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007905/1.143, allocations: 1.699 MB / 1.053 GB, free: 0.5391 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (109): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008754/1.152, allocations: 3.241 MB / 1.056 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.162, allocations: 4.04 MB / 1.06 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/1.162, allocations: 0.625 kB / 1.06 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002322/1.165, allocations: 0.8429 MB / 1.061 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009068/1.174, allocations: 1.649 MB / 1.063 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06846/1.242, allocations: 30.36 MB / 1.092 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003256/1.246, allocations: 2.148 MB / 1.095 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.004895/1.25, allocations: 0.7943 MB / 1.095 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002619/1.253, allocations: 1.534 MB / 1.097 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of SimCode: time 9.42e-07/1.253, allocations: 3.938 kB / 1.097 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1869/1.44, allocations: 101.1 MB / 1.196 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/16.08, allocations: 11.69 kB / 1.196 GB, free: 13.67 MB / 0.9512 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)