Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.PumpsSeries,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="IDEAS_dev_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.001145/0.001144, allocations: 112.5 kB / 15.73 MB, free: 76 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.001147/0.001147, allocations: 190.7 kB / 16.66 MB, free: 6.582 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8966/0.8966, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 63.91 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4563, allocations: 80.91 MB / 0.6641 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpsSeries): time 0.05039/0.5068, allocations: 50.72 MB / 0.7137 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02287/0.5297, allocations: 16.1 MB / 0.7294 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003528/0.5333, allocations: 75.62 kB / 0.7295 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003177/0.5365, allocations: 1.083 MB / 0.7305 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007496/0.544, allocations: 2.528 MB / 0.733 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005512/0.5495, allocations: 1.993 MB / 0.7349 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007938/0.5575, allocations: 4.426 MB / 0.7393 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003114/0.5607, allocations: 1.669 MB / 0.7409 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004823/0.5655, allocations: 1.842 MB / 0.7427 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002454/0.568, allocations: 1.35 MB / 0.744 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003903/0.5684, allocations: 188 kB / 0.7442 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003868/0.5723, allocations: 1.568 MB / 0.7457 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007099/0.573, allocations: 0.5997 MB / 0.7463 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001778/0.5748, allocations: 1.038 MB / 0.7473 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006142/0.5809, allocations: 3.431 MB / 0.7507 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.581, allocations: 0 / 0.7507 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.876e-06/0.581, allocations: 0 / 0.7507 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.049e-05/0.5811, allocations: 0 / 0.7507 GB, free: 8.715 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.006041/0.5871, allocations: 2.464 MB / 0.7531 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.5872, allocations: 12.03 kB / 0.7531 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000191/0.5874, allocations: 152.3 kB / 0.7532 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/0.5905, allocations: 0.5733 MB / 0.7538 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00458/0.5951, allocations: 1.864 MB / 0.7556 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.3e-05/0.5953, allocations: 82 kB / 0.7557 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.5955, allocations: 112 kB / 0.7558 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.5979, allocations: 1.236 MB / 0.757 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.598, allocations: 7.875 kB / 0.757 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.5981, allocations: 40 kB / 0.757 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-05/0.5981, allocations: 41.98 kB / 0.7571 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.6004, allocations: 0.9485 MB / 0.758 GB, free: 1.023 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.007723/0.6082, allocations: 5.812 MB / 0.7637 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.6102, allocations: 0.8048 MB / 0.7645 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008138/0.6111, allocations: 362.3 kB / 0.7648 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003422/0.6145, allocations: 2.15 MB / 0.7669 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.6145, allocations: 39.12 kB / 0.767 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.234e-06/0.6146, allocations: 0 / 0.767 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.003624/0.6182, allocations: 1.218 MB / 0.7681 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.6182, allocations: 63.97 kB / 0.7682 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.6207, allocations: 1.507 MB / 0.7697 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.6208, allocations: 41.7 kB / 0.7697 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006489/0.6215, allocations: 0.7925 MB / 0.7705 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.6217, allocations: 222 kB / 0.7707 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000334/0.622, allocations: 206.5 kB / 0.7709 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6222, allocations: 345.9 kB / 0.7712 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009439/0.6231, allocations: 420.6 kB / 0.7716 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.6243, allocations: 0.7179 MB / 0.7723 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.6265, allocations: 1.105 MB / 0.7734 GB, free: 316 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.6265, allocations: 0 / 0.7734 GB, free: 316 kB / 0.5919 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003091/0.6296, allocations: 1.375 MB / 0.7748 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.6296, allocations: 8 kB / 0.7748 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.6296, allocations: 12 kB / 0.7748 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005241/0.6302, allocations: 148.7 kB / 0.7749 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009256/0.6311, allocations: 227.8 kB / 0.7751 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006481/0.6318, allocations: 0.6655 MB / 0.7758 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.633, allocations: 111.2 kB / 0.7759 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.6331, allocations: 59.97 kB / 0.7759 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001273/0.6344, allocations: 0.6815 MB / 0.7766 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009343/0.6353, allocations: 0.6476 MB / 0.7772 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001646/0.637, allocations: 0.9877 MB / 0.7782 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.204e-06/0.637, allocations: 4 kB / 0.7782 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.002816/0.6398, allocations: 1.266 MB / 0.7794 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.6399, allocations: 12 kB / 0.7795 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.6399, allocations: 8 kB / 0.7795 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008981/0.6408, allocations: 204.9 kB / 0.7797 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008049/0.6416, allocations: 219.6 kB / 0.7799 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005893/0.6475, allocations: 3.509 MB / 0.7833 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.6487, allocations: 79.53 kB / 0.7834 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.6489, allocations: 59.91 kB / 0.7834 GB, free: 5.531 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.0003799/0.6493, allocations: 240 kB / 0.7837 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004443/0.6498, allocations: 170.8 kB / 0.7838 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/0.6527, allocations: 1.189 MB / 0.785 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.6527, allocations: 12 kB / 0.785 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6527, allocations: 0 / 0.785 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.6527, allocations: 7.984 kB / 0.785 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004618/0.6573, allocations: 2.384 MB / 0.7873 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6574, allocations: 3.938 kB / 0.7873 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006775/0.658, allocations: 124 kB / 0.7875 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003386/0.6584, allocations: 100.8 kB / 0.7875 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.927e-05/0.6585, allocations: 27.97 kB / 0.7876 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004498/0.6589, allocations: 0.6421 MB / 0.7882 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6589, allocations: 3.938 kB / 0.7882 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/0.6623, allocations: 1.593 MB / 0.7898 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007061/0.663, allocations: 339.7 kB / 0.7901 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/0.6633, allocations: 12 kB / 0.7901 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008978/0.6643, allocations: 47.95 kB / 0.7901 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.6644, allocations: 44.44 kB / 0.7902 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.642e-05/0.6644, allocations: 35.97 kB / 0.7902 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001871/0.6663, allocations: 1.024 MB / 0.7912 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6663, allocations: 0 / 0.7912 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002874/0.6692, allocations: 0.908 MB / 0.7921 GB, free: 12.48 MB / 0.6231 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.005005/0.6742, allocations: 2.602 MB / 0.7946 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00373/0.678, allocations: 1.653 MB / 0.7963 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.678, allocations: 0 / 0.7963 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009825/0.679, allocations: 440.2 kB / 0.7967 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/0.6823, allocations: 0.76 MB / 0.7974 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02296/0.7053, allocations: 12.09 MB / 0.8092 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.7064, allocations: 1.368 MB / 0.8106 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00153/0.7079, allocations: 409.2 kB / 0.811 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009025/0.7088, allocations: 0.6789 MB / 0.8116 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of SimCode: time 1.142e-06/0.7088, allocations: 0 / 0.8116 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1033/0.8122, allocations: 48.48 MB / 0.859 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.58, allocations: 4 kB / 0.859 GB, free: 7.957 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)