Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="IBPSA_latest_IBPSA_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.001362/0.001363, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001409/0.001409, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8115/0.8115, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002576/0.002576, allocations: 64.41 kB / 0.5735 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1686, allocations: 78.86 MB / 0.6505 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.PumpCurveConstruction): time 0.4486/0.6173, allocations: 104.1 MB / 0.7522 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04675/0.6641, allocations: 34.86 MB / 0.7862 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007998/0.6722, allocations: 163.5 kB / 0.7863 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009571/0.6818, allocations: 2.895 MB / 0.7892 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01618/0.6981, allocations: 5.497 MB / 0.7945 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01104/0.7091, allocations: 4.027 MB / 0.7985 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.04546/0.7546, allocations: 31.65 MB / 0.8294 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006382/0.761, allocations: 3.682 MB / 0.833 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01063/0.7717, allocations: 4.3 MB / 0.8372 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006703/0.7784, allocations: 3.331 MB / 0.8404 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002098/0.7805, allocations: 464 kB / 0.8409 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009007/0.7896, allocations: 2.929 MB / 0.8437 GB, free: 468 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002821/0.7924, allocations: 1.881 MB / 0.8456 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005834/0.7983, allocations: 3.048 MB / 0.8485 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01732/0.8156, allocations: 9.013 MB / 0.8573 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.8157, allocations: 8 kB / 0.8574 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8157, allocations: 0 / 0.8574 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002496/0.8159, allocations: 4 kB / 0.8574 GB, free: 2.812 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 541 * Number of variables: 541 Notification: Performance of Generate backend data structure: time 0.0158/0.8317, allocations: 6.585 MB / 0.8638 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.8318, allocations: 8.031 kB / 0.8638 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004558/0.8323, allocations: 295.8 kB / 0.8641 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.8434, allocations: 1.935 MB / 0.866 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03523/0.8787, allocations: 18.05 MB / 0.8836 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.8789, allocations: 180.2 kB / 0.8838 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008006/0.8798, allocations: 244 kB / 0.884 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00734/0.8871, allocations: 3.23 MB / 0.8872 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.425e-05/0.8872, allocations: 4 kB / 0.8872 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/0.8875, allocations: 88 kB / 0.8872 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.406e-05/0.8875, allocations: 52 kB / 0.8873 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007849/0.8954, allocations: 2.6 MB / 0.8898 GB, free: 1.801 MB / 0.6544 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.02726/0.9227, allocations: 15.42 MB / 0.9049 GB, free: 1.469 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006498/0.9292, allocations: 2.266 MB / 0.9071 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002718/0.932, allocations: 1.004 MB / 0.9081 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009317/0.9413, allocations: 4.982 MB / 0.9129 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.9414, allocations: 47.56 kB / 0.913 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=112): time 3.747e-06/0.9414, allocations: 0 / 0.913 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=112): time 0.01232/0.9537, allocations: 3.985 MB / 0.9169 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.9538, allocations: 72.34 kB / 0.917 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009399/0.9632, allocations: 5.533 MB / 0.9224 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000538/0.9638, allocations: 57.7 kB / 0.9224 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002451/0.9663, allocations: 2.268 MB / 0.9246 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007661/0.9671, allocations: 428.9 kB / 0.925 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001642/0.9687, allocations: 0.879 MB / 0.9259 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.9689, allocations: 313.1 kB / 0.9262 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004779/0.9736, allocations: 2.614 MB / 0.9287 GB, free: 8.691 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005848/0.9795, allocations: 3.464 MB / 0.9321 GB, free: 4.914 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/0.9898, allocations: 5.587 MB / 0.9376 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.101e-05/0.9898, allocations: 4 kB / 0.9376 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01415/1.004, allocations: 7.08 MB / 0.9445 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/1.004, allocations: 15.94 kB / 0.9445 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/1.004, allocations: 16 kB / 0.9445 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/1.006, allocations: 0.7207 MB / 0.9452 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/1.009, allocations: 0.663 MB / 0.9459 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/1.012, allocations: 2.725 MB / 0.9485 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004407/1.016, allocations: 457.7 kB / 0.949 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007679/1.017, allocations: 211.8 kB / 0.9492 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007293/1.024, allocations: 3.247 MB / 0.9524 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005368/1.03, allocations: 3.026 MB / 0.9553 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008637/1.038, allocations: 4.725 MB / 0.9599 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.111e-05/1.038, allocations: 4 kB / 0.9599 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01344/1.052, allocations: 6.267 MB / 0.966 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/1.052, allocations: 12 kB / 0.9661 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.86e-05/1.052, allocations: 23.94 kB / 0.9661 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/1.055, allocations: 0.804 MB / 0.9669 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/1.058, allocations: 0.6357 MB / 0.9675 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01892/1.077, allocations: 13.71 MB / 0.9809 GB, free: 1.273 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004157/1.081, allocations: 362.8 kB / 0.9812 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006044/1.081, allocations: 175.9 kB / 0.9814 GB, free: 0.7461 MB / 0.7481 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 (332): * Single equations (assignments): 320 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * 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.0007345/1.082, allocations: 334.2 kB / 0.9817 GB, free: 424 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/1.083, allocations: 0.5083 MB / 0.9822 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008821/1.092, allocations: 3.309 MB / 0.9854 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/1.092, allocations: 20 kB / 0.9855 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.092, allocations: 3.938 kB / 0.9855 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/1.092, allocations: 7.969 kB / 0.9855 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/1.107, allocations: 6.192 MB / 0.9915 GB, free: 6.297 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/1.107, allocations: 3.938 kB / 0.9915 GB, free: 6.293 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/1.109, allocations: 303.6 kB / 0.9918 GB, free: 5.996 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/1.11, allocations: 384.6 kB / 0.9922 GB, free: 5.609 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/1.11, allocations: 51.95 kB / 0.9922 GB, free: 5.559 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/1.113, allocations: 2.615 MB / 0.9948 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.113, allocations: 4.031 kB / 0.9948 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008751/1.121, allocations: 3.092 MB / 0.9978 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/1.124, allocations: 0.8095 MB / 0.9986 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/1.125, allocations: 27.94 kB / 0.9986 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002766/1.128, allocations: 151.8 kB / 0.9988 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/1.128, allocations: 85.19 kB / 0.9988 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/1.128, allocations: 91.92 kB / 0.9989 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.007446/1.136, allocations: 3.657 MB / 1.002 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.52e-07/1.136, allocations: 0 / 1.002 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.008347/1.144, allocations: 2.34 MB / 1.005 GB, free: 8.527 MB / 0.7794 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 (117): * Single equations (assignments): 104 * 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.009873/1.154, allocations: 4.231 MB / 1.009 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01634/1.17, allocations: 7.862 MB / 1.017 GB, free: 12.39 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.17, allocations: 0 / 1.017 GB, free: 12.39 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003346/1.174, allocations: 1.171 MB / 1.018 GB, free: 11.22 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01171/1.185, allocations: 2.43 MB / 1.02 GB, free: 8.875 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4139/1.599, allocations: 43.28 MB / 1.062 GB, free: 317.4 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003357/1.603, allocations: 2.862 MB / 1.065 GB, free: 316.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005529/1.608, allocations: 1.336 MB / 1.066 GB, free: 316.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003203/1.612, allocations: 2.225 MB / 1.069 GB, free: 316.5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.022e-06/1.612, allocations: 0 / 1.069 GB, free: 316.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2228/1.834, allocations: 141.5 MB / 1.207 GB, free: 201.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.81/26.64, allocations: 7.969 kB / 1.207 GB, free: 201.8 MB / 0.8262 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Movers_Validation_PumpCurveConstruction.fmu > IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)