Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Validation.FlowControlled_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IDEAS_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.0058/0.0058, allocations: 101.6 kB / 15.73 MB, free: 6.059 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.001397/0.001397, allocations: 195.1 kB / 16.68 MB, free: 5.969 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8468/0.8468, allocations: 132.2 MB / 422.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001893, allocations: 72.55 kB / 0.5809 GB, free: 1.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1634, allocations: 80.2 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7272/0.8907, allocations: 323.5 MB / 0.9751 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03139/0.9221, allocations: 20.18 MB / 0.9948 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003732/0.9259, allocations: 99.5 kB / 0.9949 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004632/0.9306, allocations: 1.503 MB / 0.9964 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.9429, allocations: 4.231 MB / 1.001 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006038/0.949, allocations: 2.337 MB / 1.003 GB, free: 452 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008845/0.9579, allocations: 5.936 MB / 1.009 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003337/0.9612, allocations: 2.164 MB / 1.011 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006934/0.9682, allocations: 3.219 MB / 1.014 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003509/0.9717, allocations: 1.709 MB / 1.016 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004459/0.9722, allocations: 220 kB / 1.016 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007201/0.9794, allocations: 3.683 MB / 1.019 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.9804, allocations: 0.8725 MB / 1.02 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.9822, allocations: 1.333 MB / 1.022 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.008003/0.9902, allocations: 4.761 MB / 1.026 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.9902, allocations: 4 kB / 1.026 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9902, allocations: 0 / 1.026 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.188e-05/0.9903, allocations: 0 / 1.026 GB, free: 8.434 MB / 0.7481 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.005045/0.9953, allocations: 3.06 MB / 1.029 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.9954, allocations: 12.03 kB / 1.029 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002486/0.9956, allocations: 198.5 kB / 1.029 GB, free: 5.09 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005241/1.001, allocations: 0.8529 MB / 1.03 GB, free: 4.234 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003732/1.005, allocations: 1.934 MB / 1.032 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/1.005, allocations: 110.7 kB / 1.032 GB, free: 2.117 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/1.005, allocations: 152 kB / 1.032 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003237/1.008, allocations: 1.65 MB / 1.034 GB, free: 256 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/1.008, allocations: 3.938 kB / 1.034 GB, free: 252 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/1.008, allocations: 56 kB / 1.034 GB, free: 196 kB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.612e-05/1.008, allocations: 50.56 kB / 1.034 GB, free: 144 kB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003181/1.012, allocations: 1.357 MB / 1.035 GB, free: 14.77 MB / 0.7637 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.01054/1.022, allocations: 7.867 MB / 1.043 GB, free: 6.32 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/1.024, allocations: 0.994 MB / 1.044 GB, free: 5.277 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/1.025, allocations: 499.5 kB / 1.044 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/1.026, allocations: 101.8 kB / 1.045 GB, free: 4.672 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/1.026, allocations: 43.22 kB / 1.045 GB, free: 4.621 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=72): time 2.454e-06/1.026, allocations: 0 / 1.045 GB, free: 4.621 MB / 0.7637 GB Notification: Performance of matching and sorting (n=72): time 0.003695/1.029, allocations: 1.352 MB / 1.046 GB, free: 3.266 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/1.029, allocations: 60.06 kB / 1.046 GB, free: 3.195 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/1.032, allocations: 1.798 MB / 1.048 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.86e-05/1.032, allocations: 41.7 kB / 1.048 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008827/1.033, allocations: 1.009 MB / 1.049 GB, free: 304 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/1.033, allocations: 265.7 kB / 1.049 GB, free: 36 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/1.034, allocations: 222.6 kB / 1.049 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.034, allocations: 341.9 kB / 1.05 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/1.035, allocations: 448.6 kB / 1.05 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/1.036, allocations: 0.8265 MB / 1.051 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/1.039, allocations: 1.203 MB / 1.052 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.039, allocations: 0 / 1.052 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00308/1.042, allocations: 1.414 MB / 1.053 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.042, allocations: 8 kB / 1.053 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/1.042, allocations: 21.91 kB / 1.053 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.325e-05/1.042, allocations: 16 kB / 1.053 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/1.043, allocations: 268 kB / 1.054 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004278/1.044, allocations: 0.6054 MB / 1.054 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/1.045, allocations: 148.5 kB / 1.054 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-05/1.045, allocations: 55.97 kB / 1.054 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001595/1.047, allocations: 0.8103 MB / 1.055 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001213/1.048, allocations: 0.7797 MB / 1.056 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002017/1.05, allocations: 1.106 MB / 1.057 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.011e-06/1.05, allocations: 8 kB / 1.057 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002658/1.053, allocations: 1.308 MB / 1.058 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.053, allocations: 8 kB / 1.058 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.053, allocations: 8.406 kB / 1.058 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.053, allocations: 27.92 kB / 1.058 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009307/1.054, allocations: 231.7 kB / 1.059 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/1.054, allocations: 23.92 kB / 1.059 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/1.055, allocations: 121.8 kB / 1.059 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-05/1.055, allocations: 47.98 kB / 1.059 GB, free: 5.359 MB / 0.7794 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.0004052/1.055, allocations: 249.9 kB / 1.059 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003734/1.056, allocations: 206.6 kB / 1.059 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/1.059, allocations: 1.053 MB / 1.06 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/1.059, allocations: 8 kB / 1.06 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.059, allocations: 0 / 1.06 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002032/1.061, allocations: 0.8827 MB / 1.061 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005559/1.066, allocations: 2.865 MB / 1.064 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.066, allocations: 3.984 kB / 1.064 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/1.067, allocations: 203.9 kB / 1.064 GB, free: 15.74 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/1.067, allocations: 7.938 kB / 1.064 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.225e-05/1.067, allocations: 23.98 kB / 1.064 GB, free: 15.71 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003946/1.068, allocations: 0.586 MB / 1.065 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.068, allocations: 0 / 1.065 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/1.072, allocations: 1.634 MB / 1.066 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008489/1.072, allocations: 367.6 kB / 1.067 GB, free: 13.05 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/1.073, allocations: 15.98 kB / 1.067 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009321/1.074, allocations: 59.89 kB / 1.067 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.074, allocations: 40.5 kB / 1.067 GB, free: 12.94 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/1.074, allocations: 39.91 kB / 1.067 GB, free: 12.9 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001872/1.076, allocations: 1.22 MB / 1.068 GB, free: 11.66 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/1.076, allocations: 0 / 1.068 GB, free: 11.66 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002499/1.078, allocations: 0.9628 MB / 1.069 GB, free: 10.7 MB / 0.795 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.004608/1.083, allocations: 2.43 MB / 1.071 GB, free: 8.242 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003898/1.087, allocations: 1.597 MB / 1.073 GB, free: 6.648 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.087, allocations: 448 / 1.073 GB, free: 6.648 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/1.088, allocations: 467.1 kB / 1.073 GB, free: 6.188 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004403/1.092, allocations: 1.044 MB / 1.074 GB, free: 5.203 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/1.115, allocations: 13.35 MB / 1.087 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/1.117, allocations: 1.574 MB / 1.089 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00187/1.118, allocations: 474.2 kB / 1.089 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.12, allocations: 0.839 MB / 1.09 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of SimCode: time 8.01e-07/1.12, allocations: 0 / 1.09 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/1.232, allocations: 52.84 MB / 1.142 GB, free: 276 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.23/18.46, allocations: 4 kB / 1.142 GB, free: 272 kB / 0.8575 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)