Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="IDEAS_dev_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.005002/0.005003, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001208/0.001208, allocations: 195.4 kB / 16.67 MB, free: 5.949 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7853/0.7853, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 68.39 kB / 0.5851 GB, free: 21.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1519, allocations: 80.91 MB / 0.6641 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.PumpCurveConstruction): time 0.4458/0.5977, allocations: 102.6 MB / 0.7643 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04054/0.6382, allocations: 32.4 MB / 0.796 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007194/0.6455, allocations: 153.3 kB / 0.7961 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00578/0.6513, allocations: 2.011 MB / 0.7981 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01419/0.6655, allocations: 5.129 MB / 0.8031 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/0.6756, allocations: 3.816 MB / 0.8068 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01335/0.6889, allocations: 9.415 MB / 0.816 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005484/0.6944, allocations: 3.507 MB / 0.8195 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009521/0.704, allocations: 4.07 MB / 0.8234 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005981/0.71, allocations: 2.968 MB / 0.8263 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00134/0.7113, allocations: 391.7 kB / 0.8267 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007899/0.7193, allocations: 2.557 MB / 0.8292 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002152/0.7215, allocations: 1.243 MB / 0.8304 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00564/0.7271, allocations: 2.261 MB / 0.8326 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0143/0.7414, allocations: 6.941 MB / 0.8394 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.7415, allocations: 0 / 0.8394 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7415, allocations: 0 / 0.8394 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002137/0.7417, allocations: 0 / 0.8394 GB, free: 7.59 MB / 0.6075 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.01217/0.7539, allocations: 4.951 MB / 0.8442 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.754, allocations: 9.109 kB / 0.8442 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004928/0.7545, allocations: 291.5 kB / 0.8445 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006537/0.761, allocations: 1.18 MB / 0.8457 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009421/0.7705, allocations: 3.941 MB / 0.8495 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.7707, allocations: 176.1 kB / 0.8497 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005685/0.7713, allocations: 228 kB / 0.8499 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005036/0.7763, allocations: 2.597 MB / 0.8524 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/0.7764, allocations: 3.938 kB / 0.8524 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002109/0.7766, allocations: 88 kB / 0.8525 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.7766, allocations: 59.92 kB / 0.8526 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004638/0.7813, allocations: 1.908 MB / 0.8544 GB, free: 8.027 MB / 0.6231 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.0172/0.7985, allocations: 12.37 MB / 0.8665 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003549/0.8021, allocations: 1.429 MB / 0.8679 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.8038, allocations: 0.6816 MB / 0.8686 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006781/0.8106, allocations: 3.638 MB / 0.8721 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.8107, allocations: 43.56 kB / 0.8722 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=104): time 3.727e-06/0.8107, allocations: 4 kB / 0.8722 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of matching and sorting (n=104): time 0.008737/0.8194, allocations: 2.838 MB / 0.875 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.8195, allocations: 64.41 kB / 0.875 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004754/0.8242, allocations: 3.264 MB / 0.8782 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002994/0.8246, allocations: 57.53 kB / 0.8783 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.8259, allocations: 1.749 MB / 0.88 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004186/0.8264, allocations: 382 kB / 0.8803 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000621/0.827, allocations: 439.3 kB / 0.8808 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/0.8271, allocations: 309.1 kB / 0.881 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/0.8292, allocations: 0.9846 MB / 0.882 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002596/0.8318, allocations: 1.639 MB / 0.8836 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004633/0.8365, allocations: 2.526 MB / 0.8861 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.8365, allocations: 8 kB / 0.8861 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007093/0.8436, allocations: 3.259 MB / 0.8893 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.8437, allocations: 15.94 kB / 0.8893 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.8437, allocations: 16 kB / 0.8893 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/0.8451, allocations: 0.5603 MB / 0.8898 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.847, allocations: 407.3 kB / 0.8902 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.849, allocations: 2.592 MB / 0.8928 GB, free: 14.99 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/0.8515, allocations: 246.5 kB / 0.893 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/0.8518, allocations: 131.9 kB / 0.8931 GB, free: 14.62 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002922/0.8548, allocations: 1.456 MB / 0.8945 GB, free: 13.16 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002186/0.857, allocations: 1.479 MB / 0.896 GB, free: 11.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003636/0.8606, allocations: 2.209 MB / 0.8981 GB, free: 8.961 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.505e-06/0.8606, allocations: 8 kB / 0.8982 GB, free: 8.953 MB / 0.67 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.006488/0.8671, allocations: 2.974 MB / 0.9011 GB, free: 5.965 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.8672, allocations: 16 kB / 0.9011 GB, free: 5.949 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.8672, allocations: 16 kB / 0.9011 GB, free: 5.934 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/0.8694, allocations: 0.6555 MB / 0.9017 GB, free: 5.266 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.871, allocations: 387.4 kB / 0.9021 GB, free: 4.887 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/0.8859, allocations: 11.85 MB / 0.9137 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/0.8886, allocations: 183.1 kB / 0.9139 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/0.889, allocations: 119.8 kB / 0.914 GB, free: 8.07 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.0005782/0.8896, allocations: 297 kB / 0.9142 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008419/0.8904, allocations: 357.6 kB / 0.9146 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006092/0.8965, allocations: 2.464 MB / 0.917 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.8966, allocations: 15.98 kB / 0.917 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8966, allocations: 0 / 0.917 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.8966, allocations: 7.984 kB / 0.917 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00958/0.9062, allocations: 4.561 MB / 0.9215 GB, free: 308 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.9062, allocations: 0 / 0.9215 GB, free: 308 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.9075, allocations: 235.7 kB / 0.9217 GB, free: 72 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009063/0.9084, allocations: 334.7 kB / 0.922 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.9085, allocations: 51.89 kB / 0.9221 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.9102, allocations: 2.502 MB / 0.9245 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.9102, allocations: 7.969 kB / 0.9245 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005303/0.9155, allocations: 2.253 MB / 0.9267 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/0.9169, allocations: 0.5919 MB / 0.9273 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004523/0.9174, allocations: 20 kB / 0.9273 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/0.9189, allocations: 87.81 kB / 0.9274 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.9191, allocations: 81.19 kB / 0.9275 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.9192, allocations: 67.94 kB / 0.9275 GB, free: 9.914 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003107/0.9223, allocations: 2.183 MB / 0.9297 GB, free: 7.723 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9223, allocations: 0 / 0.9297 GB, free: 7.723 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004929/0.9273, allocations: 1.719 MB / 0.9314 GB, free: 6 MB / 0.7012 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.006278/0.9336, allocations: 3.26 MB / 0.9345 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009232/0.9428, allocations: 3.994 MB / 0.9384 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.9429, allocations: 0 / 0.9384 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002228/0.9451, allocations: 0.8507 MB / 0.9393 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006809/0.9519, allocations: 1.631 MB / 0.9409 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05011/1.002, allocations: 25.86 MB / 0.9661 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/1.004, allocations: 2.168 MB / 0.9682 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003282/1.007, allocations: 0.8011 MB / 0.969 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002167/1.009, allocations: 1.55 MB / 0.9705 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of SimCode: time 1.493e-06/1.009, allocations: 0 / 0.9705 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4918/1.501, allocations: 98.96 MB / 1.067 GB, free: 309.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.21/20.71, allocations: 9.312 kB / 1.067 GB, free: 309.7 MB / 0.8262 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)