Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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.001044/0.001044, 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.001109/0.001109, allocations: 193.1 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.77/0.77, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.45 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3623, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.09844/0.4608, allocations: 105 MB / 0.6827 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04416/0.505, allocations: 32.89 MB / 0.7148 GB, free: 7.316 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007011/0.5121, allocations: 159.1 kB / 0.715 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006255/0.5184, allocations: 2.019 MB / 0.7169 GB, free: 5.129 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01466/0.5331, allocations: 5.014 MB / 0.7218 GB, free: 100 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009953/0.5431, allocations: 3.871 MB / 0.7256 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0133/0.5564, allocations: 9.519 MB / 0.7349 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006516/0.5629, allocations: 3.538 MB / 0.7384 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009502/0.5725, allocations: 3.981 MB / 0.7423 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005819/0.5783, allocations: 3.046 MB / 0.7452 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001841/0.5802, allocations: 416 kB / 0.7456 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007189/0.5874, allocations: 2.625 MB / 0.7482 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002293/0.5897, allocations: 1.324 MB / 0.7495 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004572/0.5943, allocations: 2.359 MB / 0.7518 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.6051, allocations: 7.341 MB / 0.759 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6052, allocations: 0 / 0.759 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.136e-06/0.6052, allocations: 0 / 0.759 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001136/0.6053, allocations: 3.938 kB / 0.759 GB, free: 9.965 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.009119/0.6144, allocations: 5.079 MB / 0.7639 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.6145, allocations: 8.031 kB / 0.7639 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003396/0.6148, allocations: 291.6 kB / 0.7642 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006186/0.621, allocations: 1.173 MB / 0.7654 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00841/0.6294, allocations: 4.165 MB / 0.7694 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.6296, allocations: 189.2 kB / 0.7696 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003454/0.63, allocations: 232 kB / 0.7698 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004837/0.6348, allocations: 2.726 MB / 0.7725 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.6349, allocations: 3.938 kB / 0.7725 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/0.6351, allocations: 87.94 kB / 0.7726 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/0.6351, allocations: 52 kB / 0.7726 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004626/0.6397, allocations: 1.959 MB / 0.7745 GB, free: 9.695 MB / 0.6075 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.01602/0.6558, allocations: 12.73 MB / 0.787 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003611/0.6594, allocations: 1.512 MB / 0.7884 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.6611, allocations: 0.7103 MB / 0.7891 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006012/0.6671, allocations: 3.996 MB / 0.793 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.6672, allocations: 47.5 kB / 0.7931 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=107): time 2.886e-06/0.6672, allocations: 0 / 0.7931 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of matching and sorting (n=107): time 0.009212/0.6764, allocations: 3.033 MB / 0.796 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.6765, allocations: 64.41 kB / 0.7961 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004542/0.681, allocations: 3.471 MB / 0.7995 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.6813, allocations: 69.62 kB / 0.7996 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.6827, allocations: 1.781 MB / 0.8013 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003686/0.6831, allocations: 370.6 kB / 0.8017 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006649/0.6837, allocations: 482.9 kB / 0.8021 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.6838, allocations: 305.1 kB / 0.8024 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/0.6862, allocations: 1.184 MB / 0.8036 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00283/0.689, allocations: 1.882 MB / 0.8054 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005047/0.6941, allocations: 2.952 MB / 0.8083 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.6941, allocations: 8 kB / 0.8083 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007046/0.7012, allocations: 3.753 MB / 0.812 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.7012, allocations: 15.98 kB / 0.812 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.7012, allocations: 20 kB / 0.812 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.7031, allocations: 0.722 MB / 0.8127 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.7049, allocations: 427.3 kB / 0.8131 GB, free: 220 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2452/0.95, allocations: 2.755 MB / 0.8158 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.9528, allocations: 264.5 kB / 0.816 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002839/0.9531, allocations: 151 kB / 0.8162 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003168/0.9563, allocations: 1.664 MB / 0.8178 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002302/0.9586, allocations: 1.689 MB / 0.8195 GB, free: 204.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004113/0.9627, allocations: 2.569 MB / 0.822 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.307e-05/0.9628, allocations: 12.16 kB / 0.822 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.007312/0.9701, allocations: 3.46 MB / 0.8254 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.9701, allocations: 15.69 kB / 0.8254 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.9701, allocations: 17.84 kB / 0.8254 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/0.9728, allocations: 0.8643 MB / 0.8262 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.9743, allocations: 401.5 kB / 0.8266 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01596/0.9903, allocations: 13.81 MB / 0.8401 GB, free: 192.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/0.9929, allocations: 193.1 kB / 0.8403 GB, free: 192.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/0.9932, allocations: 138.9 kB / 0.8404 GB, free: 192.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (203): * Single equations (assignments): 195 * 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.0005732/0.9937, allocations: 300.7 kB / 0.8407 GB, free: 191.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005111/0.9943, allocations: 360.4 kB / 0.8411 GB, free: 191.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005965/1, allocations: 2.641 MB / 0.8436 GB, free: 191 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/1, allocations: 17.38 kB / 0.8436 GB, free: 191 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1, allocations: 0.9688 kB / 0.8436 GB, free: 191 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/1, allocations: 7.828 kB / 0.8437 GB, free: 191 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007926/1.008, allocations: 4.826 MB / 0.8484 GB, free: 188.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.008, allocations: 0 / 0.8484 GB, free: 188.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.009, allocations: 241 kB / 0.8486 GB, free: 188.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008663/1.01, allocations: 406.6 kB / 0.849 GB, free: 188.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.124e-05/1.01, allocations: 43.84 kB / 0.849 GB, free: 188.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/1.012, allocations: 2.618 MB / 0.8516 GB, free: 186.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.012, allocations: 7.906 kB / 0.8516 GB, free: 186.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004929/1.017, allocations: 2.414 MB / 0.8539 GB, free: 184.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/1.018, allocations: 0.6099 MB / 0.8545 GB, free: 184.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003863/1.019, allocations: 22.22 kB / 0.8546 GB, free: 184.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.02, allocations: 92.89 kB / 0.8547 GB, free: 184.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.02, allocations: 88.56 kB / 0.8547 GB, free: 184.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/1.02, allocations: 72.69 kB / 0.8548 GB, free: 184.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003052/1.023, allocations: 2.323 MB / 0.8571 GB, free: 183 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/1.023, allocations: 0 / 0.8571 GB, free: 183 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004024/1.028, allocations: 1.792 MB / 0.8588 GB, free: 182.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (113): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.005304/1.033, allocations: 3.397 MB / 0.8621 GB, free: 180 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008916/1.042, allocations: 4.531 MB / 0.8666 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.042, allocations: 0 / 0.8666 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/1.044, allocations: 0.8939 MB / 0.8674 GB, free: 174.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006337/1.05, allocations: 1.756 MB / 0.8692 GB, free: 172.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04531/1.095, allocations: 33.72 MB / 0.9021 GB, free: 136.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/1.097, allocations: 2.242 MB / 0.9043 GB, free: 134.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003913/1.101, allocations: 0.8684 MB / 0.9051 GB, free: 133.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001792/1.102, allocations: 1.632 MB / 0.9067 GB, free: 131.9 MB / 0.6387 GB Notification: Performance of SimCode: time 7.72e-07/1.102, allocations: 4 kB / 0.9067 GB, free: 131.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1466/1.249, allocations: 109.4 MB / 1.014 GB, free: 23.62 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/15.21, allocations: 64 / 1.014 GB, free: 23.62 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)