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.008299/0.008299, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.002265/0.002265, allocations: 193.4 kB / 16.67 MB, free: 5.93 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9954/0.9954, allocations: 135.5 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.89 kB / 0.5857 GB, free: 3.148 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4254, allocations: 81.02 MB / 0.6649 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1067/0.5322, allocations: 102.6 MB / 0.7651 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.05008/0.5823, allocations: 32.4 MB / 0.7967 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008293/0.5906, allocations: 155.1 kB / 0.7969 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.008433/0.5991, allocations: 1.972 MB / 0.7988 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01556/0.6147, allocations: 4.918 MB / 0.8036 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.009851/0.6246, allocations: 3.823 MB / 0.8073 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01558/0.6402, allocations: 9.395 MB / 0.8165 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006438/0.6467, allocations: 3.51 MB / 0.8199 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009549/0.6563, allocations: 3.941 MB / 0.8238 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005747/0.662, allocations: 2.96 MB / 0.8267 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.6634, allocations: 396 kB / 0.827 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006293/0.6697, allocations: 2.566 MB / 0.8295 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001782/0.6715, allocations: 1.238 MB / 0.8307 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003699/0.6752, allocations: 2.254 MB / 0.833 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.6874, allocations: 6.938 MB / 0.8397 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6874, allocations: 0 / 0.8397 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6874, allocations: 0 / 0.8397 GB, free: 13.26 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000154/0.6876, allocations: 0 / 0.8397 GB, free: 13.26 MB / 0.67 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.01009/0.6977, allocations: 4.957 MB / 0.8446 GB, free: 8.219 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.6977, allocations: 8.031 kB / 0.8446 GB, free: 8.211 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004211/0.6982, allocations: 291.5 kB / 0.8449 GB, free: 7.914 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006166/0.7043, allocations: 1.176 MB / 0.846 GB, free: 6.734 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009728/0.7141, allocations: 3.942 MB / 0.8499 GB, free: 2.734 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.7144, allocations: 176.1 kB / 0.85 GB, free: 2.559 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007224/0.7151, allocations: 232 kB / 0.8502 GB, free: 2.332 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005441/0.7206, allocations: 2.612 MB / 0.8528 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/0.7206, allocations: 0 / 0.8528 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/0.7208, allocations: 87.94 kB / 0.8529 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.34e-05/0.7209, allocations: 52 kB / 0.8529 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004704/0.7256, allocations: 1.916 MB / 0.8548 GB, free: 13.53 MB / 0.6856 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.0178/0.7434, allocations: 12.37 MB / 0.8669 GB, free: 296 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3208/1.064, allocations: 1.424 MB / 0.8683 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/1.066, allocations: 0.6706 MB / 0.8689 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00628/1.072, allocations: 3.627 MB / 0.8725 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/1.072, allocations: 51.66 kB / 0.8725 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=104): time 3.226e-06/1.072, allocations: 0.9375 kB / 0.8725 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=104): time 0.008686/1.081, allocations: 2.844 MB / 0.8753 GB, free: 178.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/1.081, allocations: 62.69 kB / 0.8754 GB, free: 178 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005717/1.087, allocations: 3.259 MB / 0.8785 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003921/1.087, allocations: 58.33 kB / 0.8786 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/1.089, allocations: 1.748 MB / 0.8803 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/1.089, allocations: 381.4 kB / 0.8807 GB, free: 175.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005981/1.09, allocations: 442.2 kB / 0.8811 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.944e-05/1.09, allocations: 302.5 kB / 0.8814 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/1.092, allocations: 0.9877 MB / 0.8823 GB, free: 174.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/1.094, allocations: 1.634 MB / 0.8839 GB, free: 173.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004253/1.098, allocations: 2.539 MB / 0.8864 GB, free: 172.1 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/1.098, allocations: 5.062 kB / 0.8864 GB, free: 172.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.006662/1.105, allocations: 3.262 MB / 0.8896 GB, free: 170.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/1.105, allocations: 12.47 kB / 0.8896 GB, free: 170.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/1.105, allocations: 18.75 kB / 0.8896 GB, free: 170.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/1.107, allocations: 0.5567 MB / 0.8902 GB, free: 170.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/1.108, allocations: 410.8 kB / 0.8906 GB, free: 170.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/1.11, allocations: 2.593 MB / 0.8931 GB, free: 167.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/1.112, allocations: 244.3 kB / 0.8933 GB, free: 167.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003294/1.113, allocations: 140.6 kB / 0.8935 GB, free: 167.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002829/1.115, allocations: 1.449 MB / 0.8949 GB, free: 166.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001936/1.117, allocations: 1.481 MB / 0.8963 GB, free: 165.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003327/1.121, allocations: 2.215 MB / 0.8985 GB, free: 164 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.019e-05/1.121, allocations: 2.812 kB / 0.8985 GB, free: 164 MB / 0.6856 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.00634/1.127, allocations: 2.973 MB / 0.9014 GB, free: 162.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.127, allocations: 12.03 kB / 0.9014 GB, free: 162.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/1.127, allocations: 17.34 kB / 0.9014 GB, free: 162.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/1.129, allocations: 0.6483 MB / 0.9021 GB, free: 162.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.131, allocations: 385.9 kB / 0.9024 GB, free: 162.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/1.142, allocations: 11.87 MB / 0.914 GB, free: 152.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/1.145, allocations: 183.6 kB / 0.9142 GB, free: 152.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003159/1.145, allocations: 114.2 kB / 0.9143 GB, free: 152.7 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.000512/1.146, allocations: 287.8 kB / 0.9146 GB, free: 152.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006765/1.146, allocations: 367.1 kB / 0.9149 GB, free: 152.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005272/1.152, allocations: 2.457 MB / 0.9173 GB, free: 150.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/1.152, allocations: 17.48 kB / 0.9173 GB, free: 150.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.152, allocations: 0 / 0.9173 GB, free: 150.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/1.152, allocations: 5.734 kB / 0.9173 GB, free: 150.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007922/1.16, allocations: 4.562 MB / 0.9218 GB, free: 148 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.16, allocations: 0 / 0.9218 GB, free: 148 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/1.161, allocations: 239.7 kB / 0.922 GB, free: 147.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007546/1.162, allocations: 331 kB / 0.9223 GB, free: 147.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.228e-05/1.162, allocations: 39.95 kB / 0.9224 GB, free: 147.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/1.163, allocations: 2.514 MB / 0.9248 GB, free: 144.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.163, allocations: 0 / 0.9248 GB, free: 144.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004596/1.167, allocations: 2.254 MB / 0.927 GB, free: 142.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/1.168, allocations: 0.597 MB / 0.9276 GB, free: 141.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003716/1.169, allocations: 20 kB / 0.9276 GB, free: 141.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.17, allocations: 82.17 kB / 0.9277 GB, free: 141.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.17, allocations: 85.19 kB / 0.9278 GB, free: 141.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.17, allocations: 63.94 kB / 0.9279 GB, free: 141.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002568/1.173, allocations: 2.179 MB / 0.93 GB, free: 139.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.11e-07/1.173, allocations: 0 / 0.93 GB, free: 139.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003806/1.177, allocations: 1.724 MB / 0.9317 GB, free: 137.9 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.005129/1.182, allocations: 3.253 MB / 0.9349 GB, free: 134.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007547/1.19, allocations: 4.005 MB / 0.9388 GB, free: 130.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.19, allocations: 3.938 kB / 0.9388 GB, free: 130.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00187/1.192, allocations: 0.843 MB / 0.9396 GB, free: 129.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006048/1.198, allocations: 1.635 MB / 0.9412 GB, free: 128.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04259/1.24, allocations: 25.86 MB / 0.9664 GB, free: 101.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/1.241, allocations: 2.164 MB / 0.9686 GB, free: 99.61 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003093/1.245, allocations: 0.7972 MB / 0.9693 GB, free: 98.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0018/1.246, allocations: 1.55 MB / 0.9708 GB, free: 97.25 MB / 0.6856 GB Notification: Performance of SimCode: time 1.072e-06/1.246, allocations: 0 / 0.9708 GB, free: 97.25 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1407/1.387, allocations: 98.98 MB / 1.068 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.32/21.71, allocations: 0 / 1.068 GB, free: 15.23 MB / 0.7012 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)