Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.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.FlowControlled_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow",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.005764/0.005764, allocations: 102.5 kB / 15.73 MB, free: 5.996 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.001495/0.001495, allocations: 187.6 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9189/0.9189, allocations: 135.6 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 72.06 kB / 0.5858 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4219, allocations: 81.02 MB / 0.6649 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6953/1.117, allocations: 323.5 MB / 0.9808 GB, free: 260 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02724/1.145, allocations: 20.22 MB / 1.001 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004295/1.149, allocations: 95.88 kB / 1.001 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004615/1.153, allocations: 1.503 MB / 1.002 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/1.165, allocations: 4.229 MB / 1.006 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006176/1.171, allocations: 2.345 MB / 1.009 GB, free: 7.449 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009292/1.18, allocations: 5.936 MB / 1.014 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00364/1.184, allocations: 2.157 MB / 1.016 GB, free: 1.562 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007637/1.192, allocations: 3.225 MB / 1.02 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003904/1.196, allocations: 1.707 MB / 1.021 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006514/1.196, allocations: 216 kB / 1.021 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008866/1.205, allocations: 3.691 MB / 1.025 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00135/1.207, allocations: 0.8739 MB / 1.026 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002174/1.209, allocations: 1.337 MB / 1.027 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009935/1.219, allocations: 4.758 MB / 1.032 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/1.219, allocations: 0 / 1.032 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.314e-06/1.219, allocations: 4 kB / 1.032 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.118e-05/1.219, allocations: 0 / 1.032 GB, free: 3.109 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.00553/1.224, allocations: 3.055 MB / 1.035 GB, free: 12 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.225, allocations: 8.031 kB / 1.035 GB, free: 4 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000268/1.225, allocations: 202.6 kB / 1.035 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005358/1.23, allocations: 0.8487 MB / 1.036 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004055/1.234, allocations: 1.935 MB / 1.038 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/1.234, allocations: 118.4 kB / 1.038 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/1.235, allocations: 144 kB / 1.038 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/1.238, allocations: 1.654 MB / 1.04 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/1.238, allocations: 11.94 kB / 1.04 GB, free: 11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/1.238, allocations: 56 kB / 1.04 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.745e-05/1.238, allocations: 46.58 kB / 1.04 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003198/1.241, allocations: 1.357 MB / 1.041 GB, free: 9.531 MB / 0.7325 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.01116/1.253, allocations: 7.867 MB / 1.049 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/1.255, allocations: 0.9921 MB / 1.05 GB, free: 104 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/1.256, allocations: 488.1 kB / 1.05 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/1.256, allocations: 119.3 kB / 1.05 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/1.256, allocations: 43.16 kB / 1.05 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=72): time 3.136e-06/1.256, allocations: 0 / 1.05 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72): time 0.003687/1.26, allocations: 1.34 MB / 1.052 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/1.26, allocations: 67.98 kB / 1.052 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/1.262, allocations: 1.798 MB / 1.053 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/1.262, allocations: 45.7 kB / 1.053 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008562/1.263, allocations: 0.9999 MB / 1.054 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/1.263, allocations: 271.5 kB / 1.055 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003438/1.264, allocations: 213.7 kB / 1.055 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.264, allocations: 345.9 kB / 1.055 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/1.265, allocations: 452.6 kB / 1.056 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/1.266, allocations: 0.8342 MB / 1.057 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/1.269, allocations: 1.199 MB / 1.058 GB, free: 7.535 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/1.269, allocations: 4 kB / 1.058 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003196/1.272, allocations: 1.406 MB / 1.059 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/1.272, allocations: 10.19 kB / 1.059 GB, free: 6.109 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/1.272, allocations: 12 kB / 1.059 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/1.272, allocations: 15.98 kB / 1.059 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.273, allocations: 276 kB / 1.059 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004182/1.274, allocations: 0.6171 MB / 1.06 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/1.275, allocations: 140.5 kB / 1.06 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-05/1.275, allocations: 47.98 kB / 1.06 GB, free: 4.988 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001616/1.277, allocations: 0.8182 MB / 1.061 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001218/1.278, allocations: 0.7796 MB / 1.062 GB, free: 3.211 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002002/1.28, allocations: 1.11 MB / 1.063 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.987e-06/1.28, allocations: 3.938 kB / 1.063 GB, free: 1.965 MB / 0.7481 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.0028/1.283, allocations: 1.297 MB / 1.064 GB, free: 0.6602 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.283, allocations: 16.34 kB / 1.064 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.283, allocations: 12 kB / 1.064 GB, free: 0.6328 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/1.283, allocations: 16 kB / 1.064 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009578/1.284, allocations: 243.6 kB / 1.064 GB, free: 388 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/1.284, allocations: 15.94 kB / 1.064 GB, free: 372 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/1.285, allocations: 122.3 kB / 1.064 GB, free: 252 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.507e-05/1.285, allocations: 54.81 kB / 1.065 GB, free: 200 kB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (120): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003442/1.286, allocations: 249.7 kB / 1.065 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/1.286, allocations: 210.6 kB / 1.065 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/1.289, allocations: 1.044 MB / 1.066 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.289, allocations: 11.98 kB / 1.066 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.289, allocations: 0 / 1.066 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001996/1.291, allocations: 0.8904 MB / 1.067 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00521/1.296, allocations: 2.856 MB / 1.07 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/1.296, allocations: 8 kB / 1.07 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/1.297, allocations: 199.9 kB / 1.07 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/1.297, allocations: 7.984 kB / 1.07 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.658e-05/1.297, allocations: 23.98 kB / 1.07 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003721/1.298, allocations: 0.5859 MB / 1.07 GB, free: 9.961 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.298, allocations: 4.125 kB / 1.07 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003481/1.301, allocations: 1.627 MB / 1.072 GB, free: 8.293 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006636/1.302, allocations: 371.5 kB / 1.072 GB, free: 7.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/1.302, allocations: 16 kB / 1.072 GB, free: 7.895 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000913/1.303, allocations: 59.94 kB / 1.072 GB, free: 7.836 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.303, allocations: 40.5 kB / 1.072 GB, free: 7.797 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.805e-05/1.303, allocations: 31.98 kB / 1.073 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001786/1.305, allocations: 1.224 MB / 1.074 GB, free: 6.523 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.51e-07/1.305, allocations: 0 / 1.074 GB, free: 6.523 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002283/1.307, allocations: 0.9667 MB / 1.075 GB, free: 5.555 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00453/1.312, allocations: 2.441 MB / 1.077 GB, free: 3.109 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003895/1.316, allocations: 1.594 MB / 1.079 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.316, allocations: 64 / 1.079 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/1.317, allocations: 463.1 kB / 1.079 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005074/1.322, allocations: 1.031 MB / 1.08 GB, free: 48 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/1.345, allocations: 13.35 MB / 1.093 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/1.346, allocations: 1.574 MB / 1.095 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001822/1.348, allocations: 476.4 kB / 1.095 GB, free: 176 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001153/1.349, allocations: 0.8312 MB / 1.096 GB, free: 15.34 MB / 0.795 GB Notification: Performance of SimCode: time 8.52e-07/1.349, allocations: 0 / 1.096 GB, free: 15.34 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/1.454, allocations: 52.85 MB / 1.148 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.9/19.35, allocations: 9.969 kB / 1.148 GB, free: 11.04 MB / 0.8419 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow_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_FlowControlled_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)