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: translateModel(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00081/0.00081, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008569/0.000857, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8646/0.8646, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002818, allocations: 9.094 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1431, allocations: 82.32 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.465/0.6082, allocations: 262.1 MB / 0.8431 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02195/0.6302, allocations: 18.48 MB / 0.8612 GB, free: 3.73 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.6321, allocations: 71.5 kB / 0.8613 GB, free: 3.66 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.6352, allocations: 1.209 MB / 0.8624 GB, free: 2.445 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.2949/0.9301, allocations: 3.842 MB / 0.8662 GB, free: 56 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004623/0.9347, allocations: 2.109 MB / 0.8682 GB, free: 55.99 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004505/0.9392, allocations: 3.434 MB / 0.8716 GB, free: 55.98 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.9409, allocations: 1.612 MB / 0.8732 GB, free: 55.81 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003661/0.9446, allocations: 2.26 MB / 0.8754 GB, free: 55.8 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.9459, allocations: 1.137 MB / 0.8765 GB, free: 55.79 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001936/0.9461, allocations: 91.72 kB / 0.8766 GB, free: 55.79 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003513/0.9496, allocations: 1.865 MB / 0.8784 GB, free: 55.79 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005406/0.9502, allocations: 0.6697 MB / 0.8791 GB, free: 55.79 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004733/0.9506, allocations: 0.5094 MB / 0.8796 GB, free: 55.76 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002962/0.9536, allocations: 3.134 MB / 0.8826 GB, free: 55.53 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.9536, allocations: 0 / 0.8826 GB, free: 55.53 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9536, allocations: 0 / 0.8826 GB, free: 55.53 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.028e-05/0.9537, allocations: 0 / 0.8826 GB, free: 55.53 MB / 0.67 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.00382/0.9575, allocations: 2.516 MB / 0.8851 GB, free: 54.18 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.9575, allocations: 10.06 kB / 0.8851 GB, free: 54.18 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004807/0.9624, allocations: 0.8786 MB / 0.8859 GB, free: 54.02 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00295/0.9653, allocations: 1.814 MB / 0.8877 GB, free: 53.55 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/0.9657, allocations: 189.2 kB / 0.8879 GB, free: 53.53 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.966, allocations: 145.5 kB / 0.888 GB, free: 53.53 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.9692, allocations: 1.677 MB / 0.8897 GB, free: 53.35 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.9693, allocations: 3.906 kB / 0.8897 GB, free: 53.35 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.9694, allocations: 53.62 kB / 0.8897 GB, free: 53.35 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.766e-05/0.9695, allocations: 54.03 kB / 0.8898 GB, free: 53.34 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003427/0.9729, allocations: 1.474 MB / 0.8912 GB, free: 53.31 MB / 0.67 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.009185/0.9821, allocations: 7.815 MB / 0.8988 GB, free: 49.39 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.9842, allocations: 1.123 MB / 0.8999 GB, free: 49.16 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-05/0.9843, allocations: 20.88 kB / 0.9 GB, free: 49.16 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.9843, allocations: 46.09 kB / 0.9 GB, free: 49.11 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008772/0.9852, allocations: 194.5 kB / 0.9002 GB, free: 49.06 MB / 0.67 GB Notification: Performance of pre-optimization done (n=77): time 2.645e-06/0.9852, allocations: 0 / 0.9002 GB, free: 49.06 MB / 0.67 GB Notification: Performance of matching and sorting (n=77): time 0.003752/0.989, allocations: 1.521 MB / 0.9017 GB, free: 48.89 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.989, allocations: 59.28 kB / 0.9017 GB, free: 48.83 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.9912, allocations: 1.783 MB / 0.9035 GB, free: 48.61 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.446e-05/0.9913, allocations: 45.42 kB / 0.9035 GB, free: 48.57 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006224/0.9919, allocations: 0.9821 MB / 0.9045 GB, free: 48.27 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.9922, allocations: 269.1 kB / 0.9047 GB, free: 48.09 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.9922, allocations: 23.58 kB / 0.9048 GB, free: 48.09 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.967e-05/0.9923, allocations: 344.9 kB / 0.9051 GB, free: 47.79 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.9935, allocations: 476.3 kB / 0.9055 GB, free: 47.78 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.9948, allocations: 0.874 MB / 0.9064 GB, free: 47.27 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.9961, allocations: 0.557 MB / 0.9069 GB, free: 47.24 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.9961, allocations: 3.562 kB / 0.9069 GB, free: 47.24 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003226/0.9993, allocations: 1.471 MB / 0.9084 GB, free: 47.08 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005846/0.9999, allocations: 3.962 MB / 0.9122 GB, free: 42.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.9999, allocations: 16.94 kB / 0.9123 GB, free: 42.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/1, allocations: 15.66 kB / 0.9123 GB, free: 42.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/1.001, allocations: 308.1 kB / 0.9126 GB, free: 42.79 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002689/1.002, allocations: 0.6054 MB / 0.9132 GB, free: 42.21 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/1.004, allocations: 183.8 kB / 0.9133 GB, free: 42.19 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/1.004, allocations: 64.25 kB / 0.9134 GB, free: 42.18 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/1.004, allocations: 4.406 kB / 0.9134 GB, free: 42.18 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002186/1.006, allocations: 1.154 MB / 0.9145 GB, free: 42.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.006, allocations: 9.656 kB / 0.9145 GB, free: 42.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.006, allocations: 15.34 kB / 0.9145 GB, free: 42.16 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000917/1.007, allocations: 263.3 kB / 0.9148 GB, free: 42.15 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.87e-05/1.007, allocations: 22.27 kB / 0.9148 GB, free: 42.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/1.009, allocations: 163.5 kB / 0.915 GB, free: 42.13 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.944e-05/1.009, allocations: 48.14 kB / 0.915 GB, free: 42.13 MB / 0.67 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 (125): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001085/1.01, allocations: 0.5834 MB / 0.9156 GB, free: 41.94 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/1.01, allocations: 200.2 kB / 0.9158 GB, free: 41.83 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/1.013, allocations: 1.183 MB / 0.9169 GB, free: 41.75 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/1.013, allocations: 8.156 kB / 0.9169 GB, free: 41.75 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.013, allocations: 0 / 0.9169 GB, free: 41.75 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001975/1.015, allocations: 1.006 MB / 0.9179 GB, free: 41.57 MB / 0.67 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.005214/1.02, allocations: 2.988 MB / 0.9208 GB, free: 41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.02, allocations: 3.312 kB / 0.9209 GB, free: 41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/1.021, allocations: 248.5 kB / 0.9211 GB, free: 40.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.021, allocations: 5.781 kB / 0.9211 GB, free: 40.98 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-05/1.021, allocations: 26.16 kB / 0.9211 GB, free: 40.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001631/1.022, allocations: 0.5842 MB / 0.9217 GB, free: 40.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.022, allocations: 5.75 kB / 0.9217 GB, free: 40.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/1.025, allocations: 1.88 MB / 0.9235 GB, free: 39.94 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000775/1.026, allocations: 367.8 kB / 0.9239 GB, free: 39.74 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/1.026, allocations: 14.69 kB / 0.9239 GB, free: 39.74 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/1.027, allocations: 170.6 kB / 0.9241 GB, free: 39.71 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/1.027, allocations: 48.7 kB / 0.9241 GB, free: 39.71 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.168e-05/1.027, allocations: 34.33 kB / 0.9241 GB, free: 39.71 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001357/1.029, allocations: 1.212 MB / 0.9253 GB, free: 39.57 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.22e-07/1.029, allocations: 0 / 0.9253 GB, free: 39.57 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002304/1.031, allocations: 0.9936 MB / 0.9263 GB, free: 39.43 MB / 0.67 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007004/1.032, allocations: 368.7 kB / 0.9266 GB, free: 39.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003564/1.035, allocations: 1.712 MB / 0.9283 GB, free: 39.25 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/1.035, allocations: 2.938 kB / 0.9283 GB, free: 39.25 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.036, allocations: 0.5053 MB / 0.9288 GB, free: 39.24 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003873/1.04, allocations: 1.033 MB / 0.9298 GB, free: 39.14 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004837/1.045, allocations: 4.281 MB / 0.934 GB, free: 37.11 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008058/1.046, allocations: 1.607 MB / 0.9356 GB, free: 36.36 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001821/1.048, allocations: 0.4923 MB / 0.936 GB, free: 36.23 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/1.048, allocations: 162.3 kB / 0.9362 GB, free: 36.21 MB / 0.67 GB Notification: Performance of SimCode: time 7.31e-07/1.048, allocations: 0 / 0.9362 GB, free: 36.21 MB / 0.67 GB Notification: Performance of Templates: time 0.0447/1.093, allocations: 36.97 MB / 0.9723 GB, free: 6.754 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.makefile Environment - environmentSimulation: (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 & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) Environment - environmentSimulation: