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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6869/0.6869, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 403.4 MB, free: 7.059 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009859/0.0009859, allocations: 106 kB / 484.4 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 55.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1456, allocations: 80.2 MB / 0.6402 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6358/0.7815, allocations: 321.4 MB / 0.954 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.4416/1.223, allocations: 20.37 MB / 0.9739 GB, free: 73.8 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006086/1.229, allocations: 87.31 kB / 0.974 GB, free: 73.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006126/1.235, allocations: 1.31 MB / 0.9753 GB, free: 73.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01256/1.248, allocations: 3.954 MB / 0.9791 GB, free: 73.62 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00708/1.255, allocations: 2.082 MB / 0.9812 GB, free: 73.58 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01186/1.267, allocations: 8.047 MB / 0.989 GB, free: 73.55 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004198/1.271, allocations: 1.858 MB / 0.9909 GB, free: 73.28 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008143/1.279, allocations: 2.912 MB / 0.9937 GB, free: 73.23 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005313/1.285, allocations: 1.805 MB / 0.9955 GB, free: 73.22 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001015/1.286, allocations: 114.1 kB / 0.9956 GB, free: 73.22 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009762/1.296, allocations: 4.063 MB / 0.9995 GB, free: 73.18 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001681/1.297, allocations: 0.7759 MB / 1 GB, free: 73.09 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003156/1.3, allocations: 1.229 MB / 1.001 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01043/1.311, allocations: 4.837 MB / 1.006 GB, free: 72.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.311, allocations: 3.375 kB / 1.006 GB, free: 72.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.193e-06/1.311, allocations: 0 / 1.006 GB, free: 72.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001592/1.311, allocations: 0 / 1.006 GB, free: 72.14 MB / 0.6823 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.007525/1.319, allocations: 2.982 MB / 1.009 GB, free: 70.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.319, allocations: 7.781 kB / 1.009 GB, free: 70.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005436/1.324, allocations: 0.8373 MB / 1.01 GB, free: 70.04 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003972/1.328, allocations: 1.861 MB / 1.012 GB, free: 69.13 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003645/1.329, allocations: 171.3 kB / 1.012 GB, free: 69.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/1.329, allocations: 144.2 kB / 1.012 GB, free: 69.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/1.332, allocations: 1.665 MB / 1.014 GB, free: 68.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/1.332, allocations: 2.531 kB / 1.014 GB, free: 68.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/1.332, allocations: 61.66 kB / 1.014 GB, free: 68.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/1.332, allocations: 51.3 kB / 1.014 GB, free: 68.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/1.335, allocations: 1.407 MB / 1.015 GB, free: 68.36 MB / 0.6823 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.008542/1.343, allocations: 7.691 MB / 1.023 GB, free: 63.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/1.345, allocations: 1.063 MB / 1.024 GB, free: 62.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/1.346, allocations: 0.5056 MB / 1.024 GB, free: 62.89 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/1.346, allocations: 107.5 kB / 1.024 GB, free: 62.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/1.346, allocations: 47.12 kB / 1.024 GB, free: 62.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009382/1.347, allocations: 205.2 kB / 1.025 GB, free: 62.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 3.677e-06/1.347, allocations: 0 / 1.025 GB, free: 62.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.003301/1.351, allocations: 1.393 MB / 1.026 GB, free: 62.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/1.351, allocations: 64.53 kB / 1.026 GB, free: 62.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/1.353, allocations: 1.788 MB / 1.028 GB, free: 61.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.746e-05/1.353, allocations: 47.77 kB / 1.028 GB, free: 61.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005638/1.353, allocations: 0.9861 MB / 1.029 GB, free: 60.53 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/1.353, allocations: 265.7 kB / 1.029 GB, free: 60.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/1.354, allocations: 218.4 kB / 1.029 GB, free: 60.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.79e-05/1.354, allocations: 345.9 kB / 1.03 GB, free: 59.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009264/1.355, allocations: 472.5 kB / 1.03 GB, free: 59.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/1.356, allocations: 0.8542 MB / 1.031 GB, free: 58.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/1.358, allocations: 1.252 MB / 1.032 GB, free: 56.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.358, allocations: 4 kB / 1.032 GB, free: 56.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00258/1.36, allocations: 1.45 MB / 1.033 GB, free: 55.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/1.36, allocations: 9.25 kB / 1.033 GB, free: 55.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/1.36, allocations: 12 kB / 1.033 GB, free: 55.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/1.36, allocations: 24.27 kB / 1.034 GB, free: 55.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.362, allocations: 279.1 kB / 1.034 GB, free: 55.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002477/1.362, allocations: 0.6144 MB / 1.034 GB, free: 54.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/1.364, allocations: 147.8 kB / 1.035 GB, free: 54.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/1.364, allocations: 53.08 kB / 1.035 GB, free: 54.36 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00145/1.365, allocations: 0.8376 MB / 1.035 GB, free: 53.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00092/1.366, allocations: 0.8011 MB / 1.036 GB, free: 52.55 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001643/1.368, allocations: 1.154 MB / 1.037 GB, free: 51.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.809e-06/1.368, allocations: 4 kB / 1.037 GB, free: 51.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002209/1.37, allocations: 1.336 MB / 1.039 GB, free: 50.01 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/1.37, allocations: 15.98 kB / 1.039 GB, free: 49.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/1.37, allocations: 10.91 kB / 1.039 GB, free: 49.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/1.37, allocations: 20 kB / 1.039 GB, free: 49.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008639/1.371, allocations: 247 kB / 1.039 GB, free: 49.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/1.371, allocations: 18.62 kB / 1.039 GB, free: 49.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/1.372, allocations: 148.4 kB / 1.039 GB, free: 49.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-05/1.372, allocations: 51.98 kB / 1.039 GB, free: 49.53 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (124): * Single equations (assignments): 121 * 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.0002397/1.373, allocations: 249.9 kB / 1.039 GB, free: 49.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/1.373, allocations: 193.6 kB / 1.04 GB, free: 49.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/1.375, allocations: 1.095 MB / 1.041 GB, free: 48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.375, allocations: 8 kB / 1.041 GB, free: 47.99 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.375, allocations: 0 / 1.041 GB, free: 47.99 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001724/1.377, allocations: 0.932 MB / 1.041 GB, free: 47.03 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.004945/1.382, allocations: 3.038 MB / 1.044 GB, free: 43.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.382, allocations: 4 kB / 1.044 GB, free: 43.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009816/1.383, allocations: 211.7 kB / 1.045 GB, free: 43.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/1.383, allocations: 4 kB / 1.045 GB, free: 43.69 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/1.383, allocations: 19.98 kB / 1.045 GB, free: 43.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001929/1.383, allocations: 0.5963 MB / 1.045 GB, free: 43.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.383, allocations: 4.031 kB / 1.045 GB, free: 43.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01601/1.399, allocations: 8.253 MB / 1.053 GB, free: 34.51 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006888/1.4, allocations: 354.6 kB / 1.054 GB, free: 34.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/1.4, allocations: 12 kB / 1.054 GB, free: 34.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/1.401, allocations: 143.7 kB / 1.054 GB, free: 33.99 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/1.402, allocations: 52.47 kB / 1.054 GB, free: 33.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/1.402, allocations: 31.98 kB / 1.054 GB, free: 33.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001502/1.403, allocations: 1.22 MB / 1.055 GB, free: 32.67 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/1.403, allocations: 6.531 kB / 1.055 GB, free: 32.67 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004536/1.408, allocations: 1.509 MB / 1.057 GB, free: 31.16 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (78): * Single equations (assignments): 77 * 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.00107/1.409, allocations: 441.2 kB / 1.057 GB, free: 30.76 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003419/1.412, allocations: 1.648 MB / 1.059 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.412, allocations: 0.625 kB / 1.059 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.413, allocations: 485.8 kB / 1.059 GB, free: 28.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/1.417, allocations: 0.9895 MB / 1.06 GB, free: 27.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006012/1.423, allocations: 4.738 MB / 1.065 GB, free: 22.96 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.425, allocations: 1.589 MB / 1.066 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002206/1.427, allocations: 0.5006 MB / 1.067 GB, free: 20.83 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/1.427, allocations: 167.4 kB / 1.067 GB, free: 20.67 MB / 0.6823 GB Notification: Performance of SimCode: time 1.243e-06/1.427, allocations: 0 / 1.067 GB, free: 20.67 MB / 0.6823 GB Notification: Performance of Templates: time 0.06148/1.489, allocations: 41.63 MB / 1.108 GB, free: 11.64 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (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 & ./IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)