Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.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.PumpsSeries,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpsSeries",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.001093/0.001093, allocations: 108 kB / 15.61 MB, free: 152 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.001123/0.001123, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7451/0.7451, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002509/0.002509, allocations: 71.5 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3579, allocations: 80.19 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpsSeries): time 0.06561/0.4236, allocations: 50.72 MB / 0.6297 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02163/0.4452, allocations: 16.1 MB / 0.6454 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/0.4475, allocations: 75.56 kB / 0.6455 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002346/0.4499, allocations: 1.06 MB / 0.6465 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005141/0.4551, allocations: 2.437 MB / 0.6489 GB, free: 10.99 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00403/0.4591, allocations: 1.976 MB / 0.6509 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004673/0.4638, allocations: 4.409 MB / 0.6552 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/0.466, allocations: 1.665 MB / 0.6568 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003381/0.4694, allocations: 1.801 MB / 0.6585 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.4712, allocations: 1.346 MB / 0.6599 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002671/0.4715, allocations: 192 kB / 0.66 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.4742, allocations: 1.564 MB / 0.6616 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005749/0.4748, allocations: 0.5958 MB / 0.6621 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000991/0.4758, allocations: 1.042 MB / 0.6632 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003745/0.4795, allocations: 3.369 MB / 0.6665 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4796, allocations: 4 kB / 0.6665 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4796, allocations: 0 / 0.6665 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.906e-05/0.4796, allocations: 0 / 0.6665 GB, free: 8.98 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003806/0.4834, allocations: 2.396 MB / 0.6688 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4835, allocations: 8.031 kB / 0.6688 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/0.4836, allocations: 152.4 kB / 0.669 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/0.4867, allocations: 0.5643 MB / 0.6695 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/0.4905, allocations: 1.785 MB / 0.6712 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.085e-05/0.4906, allocations: 86.22 kB / 0.6713 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.4908, allocations: 115.9 kB / 0.6714 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/0.4931, allocations: 1.228 MB / 0.6726 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.4932, allocations: 0 / 0.6726 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.4933, allocations: 44 kB / 0.6727 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.4933, allocations: 41.98 kB / 0.6727 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.4957, allocations: 0.9523 MB / 0.6737 GB, free: 1.449 MB / 0.4981 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.007742/0.5034, allocations: 5.854 MB / 0.6794 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.5055, allocations: 0.8076 MB / 0.6802 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008032/0.5063, allocations: 352.1 kB / 0.6805 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002796/0.5091, allocations: 2.157 MB / 0.6826 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.5091, allocations: 35.12 kB / 0.6826 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=57): time 3.366e-06/0.5092, allocations: 7.984 kB / 0.6826 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=57): time 0.003425/0.5126, allocations: 1.217 MB / 0.6838 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.5126, allocations: 55.97 kB / 0.6839 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.5145, allocations: 1.511 MB / 0.6854 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.954e-05/0.5146, allocations: 41.7 kB / 0.6854 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006136/0.5152, allocations: 0.7796 MB / 0.6862 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.5154, allocations: 205 kB / 0.6864 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003029/0.5157, allocations: 206.4 kB / 0.6866 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5158, allocations: 341.9 kB / 0.6869 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000931/0.5167, allocations: 428.5 kB / 0.6873 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.5179, allocations: 0.7179 MB / 0.688 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/0.5199, allocations: 1.101 MB / 0.6891 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.5199, allocations: 7.938 kB / 0.6891 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002733/0.5227, allocations: 1.358 MB / 0.6904 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.5227, allocations: 8 kB / 0.6904 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.5227, allocations: 11.98 kB / 0.6904 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004928/0.5232, allocations: 145.2 kB / 0.6906 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009346/0.5242, allocations: 235.6 kB / 0.6908 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005536/0.5247, allocations: 0.6576 MB / 0.6914 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008995/0.5257, allocations: 115.1 kB / 0.6915 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.5258, allocations: 59.97 kB / 0.6916 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001185/0.527, allocations: 0.6814 MB / 0.6923 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000985/0.528, allocations: 0.6554 MB / 0.6929 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001632/0.5296, allocations: 0.9683 MB / 0.6938 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.309e-05/0.5296, allocations: 4 kB / 0.6938 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.002653/0.5323, allocations: 1.268 MB / 0.6951 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5323, allocations: 8 kB / 0.6951 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5323, allocations: 8 kB / 0.6951 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009284/0.5333, allocations: 205.4 kB / 0.6953 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/0.5341, allocations: 219.7 kB / 0.6955 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005813/0.5399, allocations: 3.505 MB / 0.6989 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008358/0.5408, allocations: 87.39 kB / 0.699 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.395e-05/0.5409, allocations: 47.98 kB / 0.6991 GB, free: 5.969 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (100): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002499/0.5411, allocations: 240.1 kB / 0.6993 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.5413, allocations: 161.9 kB / 0.6994 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002768/0.5441, allocations: 1.197 MB / 0.7006 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.5441, allocations: 8 kB / 0.7006 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.5441, allocations: 7.984 kB / 0.7006 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.5442, allocations: 0 / 0.7006 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.5482, allocations: 2.384 MB / 0.7029 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5482, allocations: 3.938 kB / 0.703 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006801/0.5489, allocations: 127.8 kB / 0.7031 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003283/0.5492, allocations: 100.8 kB / 0.7032 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.5493, allocations: 35.97 kB / 0.7032 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004424/0.5497, allocations: 0.642 MB / 0.7038 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5497, allocations: 4.031 kB / 0.7038 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003201/0.553, allocations: 1.584 MB / 0.7054 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.5534, allocations: 330.8 kB / 0.7057 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.5536, allocations: 20.08 kB / 0.7057 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007443/0.5543, allocations: 39.97 kB / 0.7058 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.554e-05/0.5544, allocations: 52.42 kB / 0.7058 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/0.5545, allocations: 35.97 kB / 0.7058 GB, free: 14.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001381/0.5559, allocations: 1.024 MB / 0.7068 GB, free: 13.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5559, allocations: 0 / 0.7068 GB, free: 13.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002088/0.558, allocations: 0.8887 MB / 0.7077 GB, free: 12.93 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * 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 (64): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004662/0.5627, allocations: 2.576 MB / 0.7102 GB, free: 10.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003917/0.5666, allocations: 1.712 MB / 0.7119 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.5666, allocations: 4.125 kB / 0.7119 GB, free: 8.602 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.5677, allocations: 427 kB / 0.7123 GB, free: 8.184 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/0.5707, allocations: 0.7614 MB / 0.7131 GB, free: 7.461 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/0.5932, allocations: 13.04 MB / 0.7258 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000969/0.5942, allocations: 1.364 MB / 0.7271 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001709/0.5959, allocations: 405.2 kB / 0.7275 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000866/0.5968, allocations: 0.6789 MB / 0.7282 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.5968, allocations: 4 kB / 0.7282 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08657/0.6834, allocations: 48.21 MB / 0.7753 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.94, allocations: 3.875 kB / 0.7753 GB, free: 7.496 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 IDEAS_IDEAS_Fluid_Movers_Examples_PumpsSeries.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)