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.00863/0.00863, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.00168/0.00168, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8103/0.8103, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 66.03 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.149, allocations: 80.2 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpsSeries): time 0.05308/0.2021, allocations: 50.73 MB / 0.7087 GB, free: 7.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02473/0.2269, allocations: 16.09 MB / 0.7244 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002859/0.2298, allocations: 71.62 kB / 0.7245 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00323/0.233, allocations: 1.064 MB / 0.7255 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006454/0.2395, allocations: 2.434 MB / 0.7279 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004793/0.2444, allocations: 1.998 MB / 0.7299 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006478/0.2508, allocations: 4.413 MB / 0.7342 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002441/0.2533, allocations: 1.658 MB / 0.7358 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/0.2575, allocations: 1.82 MB / 0.7376 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/0.2595, allocations: 1.346 MB / 0.7389 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003079/0.2598, allocations: 184 kB / 0.7391 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.263, allocations: 1.564 MB / 0.7406 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000648/0.2637, allocations: 0.5996 MB / 0.7412 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.2649, allocations: 1.049 MB / 0.7422 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005109/0.27, allocations: 3.429 MB / 0.7455 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2701, allocations: 0 / 0.7455 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2701, allocations: 3.938 kB / 0.7455 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.617e-05/0.2701, allocations: 0 / 0.7455 GB, free: 2.055 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.2902/0.5603, allocations: 2.459 MB / 0.7479 GB, free: 84.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.5604, allocations: 10.44 kB / 0.748 GB, free: 84.64 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003616/0.5608, allocations: 147.9 kB / 0.7481 GB, free: 84.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/0.5642, allocations: 0.5705 MB / 0.7487 GB, free: 84.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005364/0.5696, allocations: 1.865 MB / 0.7505 GB, free: 84.06 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.5698, allocations: 83.98 kB / 0.7506 GB, free: 84.03 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004151/0.5702, allocations: 109.5 kB / 0.7507 GB, free: 84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.5733, allocations: 1.239 MB / 0.7519 GB, free: 83.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.5733, allocations: 5.766 kB / 0.7519 GB, free: 83.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.5735, allocations: 37.62 kB / 0.7519 GB, free: 83.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/0.5735, allocations: 38.44 kB / 0.7519 GB, free: 83.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/0.5762, allocations: 0.9487 MB / 0.7529 GB, free: 83.11 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.009569/0.5858, allocations: 5.827 MB / 0.7586 GB, free: 79.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.5881, allocations: 0.8016 MB / 0.7593 GB, free: 78.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000924/0.589, allocations: 358 kB / 0.7597 GB, free: 78.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003361/0.5924, allocations: 2.157 MB / 0.7618 GB, free: 76.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.5924, allocations: 38.75 kB / 0.7618 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=57): time 2.164e-06/0.5924, allocations: 2.5 kB / 0.7618 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=57): time 0.003482/0.5959, allocations: 1.225 MB / 0.763 GB, free: 76.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.596, allocations: 58.48 kB / 0.7631 GB, free: 76.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.5981, allocations: 1.51 MB / 0.7646 GB, free: 75.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.5982, allocations: 44.25 kB / 0.7646 GB, free: 75.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005086/0.5987, allocations: 0.7915 MB / 0.7654 GB, free: 75.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.5989, allocations: 215.6 kB / 0.7656 GB, free: 74.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.5992, allocations: 215 kB / 0.7658 GB, free: 74.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.5992, allocations: 338 kB / 0.7661 GB, free: 74.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008696/0.6001, allocations: 424.8 kB / 0.7665 GB, free: 74.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.6012, allocations: 0.7139 MB / 0.7672 GB, free: 73.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.6032, allocations: 1.106 MB / 0.7683 GB, free: 73.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.6032, allocations: 2.531 kB / 0.7683 GB, free: 73.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002916/0.6062, allocations: 1.367 MB / 0.7696 GB, free: 72.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.6062, allocations: 11.69 kB / 0.7696 GB, free: 72.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.6062, allocations: 12.84 kB / 0.7696 GB, free: 72.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000477/0.6067, allocations: 147.7 kB / 0.7698 GB, free: 72.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008673/0.6076, allocations: 237.1 kB / 0.77 GB, free: 72.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004508/0.608, allocations: 0.6536 MB / 0.7707 GB, free: 72.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.6092, allocations: 120.3 kB / 0.7708 GB, free: 71.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.6093, allocations: 58.78 kB / 0.7708 GB, free: 71.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001222/0.6105, allocations: 0.6782 MB / 0.7715 GB, free: 71.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008394/0.6114, allocations: 0.6507 MB / 0.7721 GB, free: 71.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001562/0.6129, allocations: 0.9792 MB / 0.7731 GB, free: 70.33 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.264e-06/0.613, allocations: 6.25 kB / 0.7731 GB, free: 70.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.003062/0.616, allocations: 1.273 MB / 0.7743 GB, free: 69.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.6161, allocations: 8.25 kB / 0.7743 GB, free: 69.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.6161, allocations: 8.438 kB / 0.7743 GB, free: 69.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008655/0.6169, allocations: 204.6 kB / 0.7745 GB, free: 69.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/0.6177, allocations: 220.2 kB / 0.7747 GB, free: 69.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005084/0.6228, allocations: 3.499 MB / 0.7782 GB, free: 66.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.6241, allocations: 86.41 kB / 0.7782 GB, free: 66.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.6242, allocations: 60.59 kB / 0.7783 GB, free: 66.75 MB / 0.5762 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.0003206/0.6246, allocations: 227 kB / 0.7785 GB, free: 66.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/0.6249, allocations: 172.6 kB / 0.7787 GB, free: 66.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.6275, allocations: 1.203 MB / 0.7799 GB, free: 65.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.6276, allocations: 7.656 kB / 0.7799 GB, free: 65.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.6276, allocations: 1.156 kB / 0.7799 GB, free: 65.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.6276, allocations: 7.922 kB / 0.7799 GB, free: 65.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003781/0.6314, allocations: 2.375 MB / 0.7822 GB, free: 64.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.6314, allocations: 1.375 kB / 0.7822 GB, free: 64.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/0.632, allocations: 127.8 kB / 0.7823 GB, free: 64.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003152/0.6323, allocations: 108.4 kB / 0.7824 GB, free: 64.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/0.6324, allocations: 30.62 kB / 0.7825 GB, free: 64.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003592/0.6328, allocations: 0.6404 MB / 0.7831 GB, free: 63.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.6328, allocations: 9.531 kB / 0.7831 GB, free: 63.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/0.6356, allocations: 1.587 MB / 0.7846 GB, free: 62.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/0.6361, allocations: 346.7 kB / 0.785 GB, free: 62.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.6362, allocations: 23.88 kB / 0.785 GB, free: 62.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/0.6369, allocations: 39.8 kB / 0.785 GB, free: 62.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.637, allocations: 44.16 kB / 0.7851 GB, free: 62.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.6371, allocations: 31.72 kB / 0.7851 GB, free: 62.22 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001146/0.6382, allocations: 1.03 MB / 0.7861 GB, free: 61.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6382, allocations: 0 / 0.7861 GB, free: 61.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001933/0.6402, allocations: 0.897 MB / 0.787 GB, free: 61.45 MB / 0.5762 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.003883/0.6441, allocations: 2.59 MB / 0.7895 GB, free: 59.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003108/0.6472, allocations: 1.646 MB / 0.7911 GB, free: 57.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6472, allocations: 0 / 0.7911 GB, free: 57.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000828/0.648, allocations: 444.1 kB / 0.7915 GB, free: 57.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/0.6509, allocations: 0.7707 MB / 0.7923 GB, free: 56.63 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/0.668, allocations: 12.1 MB / 0.8041 GB, free: 44.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.6687, allocations: 1.364 MB / 0.8054 GB, free: 42.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001293/0.67, allocations: 405.8 kB / 0.8058 GB, free: 42.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006862/0.6707, allocations: 0.6828 MB / 0.8065 GB, free: 41.62 MB / 0.5762 GB Notification: Performance of SimCode: time 6.12e-07/0.6707, allocations: 0 / 0.8065 GB, free: 41.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08026/0.751, allocations: 48.48 MB / 0.8538 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.41, allocations: 3.75 kB / 0.8538 GB, free: 9.531 MB / 0.5919 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)