Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 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.Validation.PumpCurveConstruction,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="IDEAS_IDEAS_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.006608/0.006608, allocations: 99.67 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 199.3 kB / 16.68 MB, free: 5.965 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7504/0.7504, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 64.14 kB / 0.5809 GB, free: 8.082 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4373, allocations: 80.21 MB / 0.6592 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1018/0.5391, allocations: 102.6 MB / 0.7594 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04693/0.5861, allocations: 32.39 MB / 0.791 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00639/0.5925, allocations: 155.1 kB / 0.7912 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.006048/0.5986, allocations: 2.022 MB / 0.7932 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01462/0.6133, allocations: 5.125 MB / 0.7982 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.6237, allocations: 3.821 MB / 0.8019 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01602/0.6397, allocations: 9.402 MB / 0.8111 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008241/0.648, allocations: 3.503 MB / 0.8145 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01056/0.6586, allocations: 4.066 MB / 0.8185 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005212/0.6638, allocations: 2.968 MB / 0.8214 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001522/0.6654, allocations: 392 kB / 0.8217 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006316/0.6717, allocations: 2.558 MB / 0.8242 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002047/0.6738, allocations: 1.242 MB / 0.8254 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004445/0.6782, allocations: 2.254 MB / 0.8276 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.6908, allocations: 6.944 MB / 0.8344 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6908, allocations: 0 / 0.8344 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6908, allocations: 0 / 0.8344 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002254/0.6911, allocations: 0 / 0.8344 GB, free: 2.215 MB / 0.6544 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.01185/0.7029, allocations: 4.961 MB / 0.8393 GB, free: 13.17 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.703, allocations: 8.031 kB / 0.8393 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006518/0.7036, allocations: 287.5 kB / 0.8396 GB, free: 12.87 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006624/0.7103, allocations: 1.184 MB / 0.8407 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.721, allocations: 3.934 MB / 0.8446 GB, free: 7.695 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.7212, allocations: 176.1 kB / 0.8447 GB, free: 7.52 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008396/0.7221, allocations: 236 kB / 0.8449 GB, free: 7.289 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006656/0.7287, allocations: 2.613 MB / 0.8475 GB, free: 4.543 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.108e-05/0.7288, allocations: 0 / 0.8475 GB, free: 4.543 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003411/0.7292, allocations: 91.94 kB / 0.8476 GB, free: 4.453 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.109e-05/0.7292, allocations: 56 kB / 0.8476 GB, free: 4.398 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005046/0.7343, allocations: 1.912 MB / 0.8495 GB, free: 2.484 MB / 0.67 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.01899/0.7533, allocations: 12.36 MB / 0.8616 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00382/0.7571, allocations: 1.43 MB / 0.863 GB, free: 3.816 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/0.7592, allocations: 0.6731 MB / 0.8636 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.328/1.087, allocations: 3.628 MB / 0.8672 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/1.087, allocations: 47.31 kB / 0.8672 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=104): time 3.557e-06/1.087, allocations: 0 / 0.8672 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=104): time 0.009578/1.097, allocations: 2.84 MB / 0.87 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/1.097, allocations: 66.84 kB / 0.8701 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006283/1.103, allocations: 3.262 MB / 0.8732 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005316/1.104, allocations: 54.52 kB / 0.8733 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001713/1.106, allocations: 1.746 MB / 0.875 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006733/1.106, allocations: 388.7 kB / 0.8754 GB, free: 181 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008752/1.107, allocations: 437.1 kB / 0.8758 GB, free: 180.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.658e-05/1.107, allocations: 305.7 kB / 0.8761 GB, free: 180.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002624/1.11, allocations: 0.9873 MB / 0.877 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002707/1.113, allocations: 1.638 MB / 0.8786 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004468/1.117, allocations: 2.523 MB / 0.8811 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-05/1.117, allocations: 5.125 kB / 0.8811 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007256/1.124, allocations: 3.271 MB / 0.8843 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/1.124, allocations: 11.59 kB / 0.8843 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/1.124, allocations: 21.44 kB / 0.8843 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/1.126, allocations: 0.5494 MB / 0.8849 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/1.128, allocations: 406.9 kB / 0.8853 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/1.129, allocations: 2.6 MB / 0.8878 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/1.132, allocations: 249.6 kB / 0.888 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003864/1.132, allocations: 130.6 kB / 0.8882 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00289/1.135, allocations: 1.457 MB / 0.8896 GB, free: 173.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002021/1.137, allocations: 1.479 MB / 0.891 GB, free: 172.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003704/1.141, allocations: 2.214 MB / 0.8932 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.956e-05/1.141, allocations: 5.188 kB / 0.8932 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.007167/1.148, allocations: 2.974 MB / 0.8961 GB, free: 169.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/1.148, allocations: 12.53 kB / 0.8961 GB, free: 169.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-05/1.148, allocations: 16.78 kB / 0.8961 GB, free: 169.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002299/1.15, allocations: 0.6496 MB / 0.8968 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/1.152, allocations: 389.2 kB / 0.8971 GB, free: 168.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/1.166, allocations: 11.87 MB / 0.9087 GB, free: 159.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/1.168, allocations: 176.4 kB / 0.9089 GB, free: 159.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003165/1.169, allocations: 125 kB / 0.909 GB, free: 159.3 MB / 0.6856 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.0005424/1.169, allocations: 291.1 kB / 0.9093 GB, free: 159.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006703/1.17, allocations: 361.2 kB / 0.9096 GB, free: 158.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005105/1.175, allocations: 2.459 MB / 0.912 GB, free: 157.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/1.175, allocations: 15.83 kB / 0.912 GB, free: 157.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.175, allocations: 11.66 kB / 0.9121 GB, free: 157.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.175, allocations: 3.984 kB / 0.9121 GB, free: 157.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007831/1.183, allocations: 4.56 MB / 0.9165 GB, free: 154.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/1.183, allocations: 0 / 0.9165 GB, free: 154.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.184, allocations: 234.2 kB / 0.9167 GB, free: 154.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008421/1.185, allocations: 326.9 kB / 0.917 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.322e-05/1.185, allocations: 46.17 kB / 0.9171 GB, free: 154.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/1.186, allocations: 2.499 MB / 0.9195 GB, free: 152.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.186, allocations: 256 / 0.9195 GB, free: 152.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004525/1.191, allocations: 2.261 MB / 0.9217 GB, free: 150.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.192, allocations: 0.5975 MB / 0.9223 GB, free: 150.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004173/1.193, allocations: 26.78 kB / 0.9223 GB, free: 150.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.194, allocations: 81.11 kB / 0.9224 GB, free: 150.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.194, allocations: 85.31 kB / 0.9225 GB, free: 150.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.194, allocations: 61.25 kB / 0.9226 GB, free: 150.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002657/1.197, allocations: 2.184 MB / 0.9247 GB, free: 149.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/1.197, allocations: 0 / 0.9247 GB, free: 149.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004403/1.201, allocations: 1.719 MB / 0.9264 GB, free: 147.6 MB / 0.6856 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.005347/1.207, allocations: 3.255 MB / 0.9296 GB, free: 144.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007867/1.215, allocations: 4.001 MB / 0.9335 GB, free: 140.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.215, allocations: 0 / 0.9335 GB, free: 140.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001888/1.217, allocations: 0.843 MB / 0.9343 GB, free: 139.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00638/1.223, allocations: 1.643 MB / 0.9359 GB, free: 138 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0436/1.267, allocations: 25.86 MB / 0.9611 GB, free: 111.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/1.268, allocations: 2.164 MB / 0.9633 GB, free: 109.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002932/1.271, allocations: 0.7989 MB / 0.964 GB, free: 108.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/1.273, allocations: 1.546 MB / 0.9656 GB, free: 107 MB / 0.6856 GB Notification: Performance of SimCode: time 1.462e-06/1.273, allocations: 0 / 0.9656 GB, free: 107 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/1.404, allocations: 98.97 MB / 1.062 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.9/21.3, allocations: 7.156 kB / 1.062 GB, free: 8.984 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction_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_Validation_PumpCurveConstruction.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)