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.007048/0.007048, allocations: 99.69 kB / 15.73 MB, free: 6.445 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.001604/0.001604, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7251/0.7251, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.91 kB / 0.5808 GB, free: 8.082 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5052/0.5066, allocations: 80.2 MB / 0.6592 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpsSeries): time 0.04911/0.5558, allocations: 50.72 MB / 0.7087 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02554/0.5814, allocations: 16.1 MB / 0.7244 GB, free: 3.227 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003494/0.585, allocations: 71.62 kB / 0.7245 GB, free: 3.156 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003591/0.5886, allocations: 1.082 MB / 0.7256 GB, free: 2.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008033/0.5966, allocations: 2.526 MB / 0.728 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005273/0.6019, allocations: 2.004 MB / 0.73 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006454/0.6084, allocations: 4.417 MB / 0.7343 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002871/0.6113, allocations: 1.661 MB / 0.7359 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004443/0.6158, allocations: 1.848 MB / 0.7377 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.6179, allocations: 1.357 MB / 0.739 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003473/0.6183, allocations: 184 kB / 0.7392 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.6216, allocations: 1.564 MB / 0.7407 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006304/0.6222, allocations: 0.5997 MB / 0.7413 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.6234, allocations: 1.042 MB / 0.7424 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005611/0.629, allocations: 3.434 MB / 0.7457 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.6291, allocations: 0 / 0.7457 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6291, allocations: 0 / 0.7457 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.613e-05/0.6292, allocations: 0 / 0.7457 GB, free: 13.36 MB / 0.5762 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.004589/0.6338, allocations: 2.464 MB / 0.7481 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.6338, allocations: 11.97 kB / 0.7481 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.634, allocations: 152.4 kB / 0.7483 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003075/0.6371, allocations: 0.5694 MB / 0.7488 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004971/0.6421, allocations: 1.864 MB / 0.7506 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-05/0.6422, allocations: 85.98 kB / 0.7507 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/0.6425, allocations: 104 kB / 0.7508 GB, free: 8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.645, allocations: 1.244 MB / 0.752 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.6451, allocations: 3.938 kB / 0.752 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.907e-05/0.6452, allocations: 40 kB / 0.7521 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.013e-05/0.6453, allocations: 41.98 kB / 0.7521 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.6475, allocations: 0.9446 MB / 0.753 GB, free: 5.68 MB / 0.5762 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.008488/0.656, allocations: 5.828 MB / 0.7587 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.6581, allocations: 0.8031 MB / 0.7595 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007768/0.6589, allocations: 350.4 kB / 0.7599 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003073/0.6619, allocations: 2.153 MB / 0.762 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.662, allocations: 43.12 kB / 0.762 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.054e-06/0.662, allocations: 0 / 0.762 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.003417/0.6654, allocations: 1.214 MB / 0.7632 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.6655, allocations: 67.91 kB / 0.7632 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.6676, allocations: 1.503 MB / 0.7647 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-05/0.6677, allocations: 41.7 kB / 0.7648 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006759/0.6683, allocations: 0.7963 MB / 0.7655 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.6686, allocations: 218.2 kB / 0.7657 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/0.6689, allocations: 206.5 kB / 0.7659 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.6691, allocations: 337.9 kB / 0.7663 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000905/0.67, allocations: 428.6 kB / 0.7667 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.6711, allocations: 0.714 MB / 0.7674 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.673, allocations: 1.109 MB / 0.7684 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.673, allocations: 0 / 0.7684 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002956/0.676, allocations: 1.371 MB / 0.7698 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.676, allocations: 8 kB / 0.7698 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.6761, allocations: 8 kB / 0.7698 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005058/0.6766, allocations: 157.4 kB / 0.77 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009038/0.6775, allocations: 223.7 kB / 0.7702 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005901/0.6781, allocations: 0.6616 MB / 0.7708 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.6793, allocations: 119.3 kB / 0.7709 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.6794, allocations: 63.95 kB / 0.771 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001274/0.6807, allocations: 0.6776 MB / 0.7716 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000925/0.6816, allocations: 0.6515 MB / 0.7723 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001621/0.6833, allocations: 0.9799 MB / 0.7732 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.369e-06/0.6833, allocations: 4 kB / 0.7732 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.00277/0.6861, allocations: 1.273 MB / 0.7745 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6861, allocations: 8 kB / 0.7745 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6861, allocations: 8.688 kB / 0.7745 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009217/0.687, allocations: 212.7 kB / 0.7747 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007902/0.6878, allocations: 219.6 kB / 0.7749 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005659/0.6935, allocations: 3.493 MB / 0.7783 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.6948, allocations: 99.48 kB / 0.7784 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.695, allocations: 59.97 kB / 0.7785 GB, free: 10.18 MB / 0.6075 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.0003362/0.6953, allocations: 232.9 kB / 0.7787 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.6956, allocations: 166.9 kB / 0.7789 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/0.6984, allocations: 1.193 MB / 0.78 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.6985, allocations: 8 kB / 0.78 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6985, allocations: 0 / 0.78 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.6985, allocations: 7.984 kB / 0.78 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004369/0.7029, allocations: 2.384 MB / 0.7824 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.7029, allocations: 4 kB / 0.7824 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.7036, allocations: 119.8 kB / 0.7825 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00036/0.7039, allocations: 112.7 kB / 0.7826 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.704, allocations: 27.91 kB / 0.7826 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004999/0.7045, allocations: 0.6383 MB / 0.7832 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.7045, allocations: 3.938 kB / 0.7832 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/0.7079, allocations: 1.593 MB / 0.7848 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007009/0.7086, allocations: 335.7 kB / 0.7851 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.7088, allocations: 16 kB / 0.7851 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007402/0.7095, allocations: 43.91 kB / 0.7852 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/0.7096, allocations: 52.44 kB / 0.7852 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.57e-05/0.7097, allocations: 31.97 kB / 0.7853 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001593/0.7113, allocations: 1.028 MB / 0.7863 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7113, allocations: 0 / 0.7863 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002612/0.7139, allocations: 0.8963 MB / 0.7871 GB, free: 1.137 MB / 0.6075 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.004915/0.7189, allocations: 2.6 MB / 0.7897 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003773/0.7227, allocations: 1.649 MB / 0.7913 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.7227, allocations: 0.875 kB / 0.7913 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.7237, allocations: 443.1 kB / 0.7917 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/0.7272, allocations: 0.7632 MB / 0.7925 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02148/0.7487, allocations: 12.1 MB / 0.8043 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00095/0.7497, allocations: 1.364 MB / 0.8056 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001599/0.7513, allocations: 409.3 kB / 0.806 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008401/0.7521, allocations: 0.6827 MB / 0.8067 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/0.7521, allocations: 0 / 0.8067 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08671/0.8388, allocations: 48.47 MB / 0.854 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.74, allocations: 8.062 kB / 0.854 GB, free: 12.7 MB / 0.6856 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)