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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 183.1 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-master/package.mo): time 0.8063/0.8063, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.377/1.377, allocations: 222.9 MB / 404.7 MB, free: 6.094 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.0009541/0.0009544, allocations: 111.5 kB / 485.9 MB, free: 7.227 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 51.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1425, allocations: 80.42 MB / 0.6421 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.01/1.152, allocations: 321.4 MB / 0.956 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02694/1.179, allocations: 20.37 MB / 0.9759 GB, free: 73.77 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003845/1.183, allocations: 88.03 kB / 0.976 GB, free: 73.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004092/1.187, allocations: 1.311 MB / 0.9772 GB, free: 73.74 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01378/1.201, allocations: 3.946 MB / 0.9811 GB, free: 73.55 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007219/1.208, allocations: 2.097 MB / 0.9831 GB, free: 73.5 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0113/1.22, allocations: 8.035 MB / 0.991 GB, free: 73.48 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003057/1.223, allocations: 1.865 MB / 0.9928 GB, free: 73.2 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006576/1.229, allocations: 2.91 MB / 0.9957 GB, free: 73.15 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004164/1.233, allocations: 1.803 MB / 0.9974 GB, free: 73.12 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004247/1.234, allocations: 120.3 kB / 0.9975 GB, free: 73.12 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008322/1.242, allocations: 4.049 MB / 1.001 GB, free: 73.09 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/1.243, allocations: 0.7855 MB / 1.002 GB, free: 72.99 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001811/1.245, allocations: 1.225 MB / 1.003 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007948/1.253, allocations: 4.837 MB / 1.008 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/1.253, allocations: 0 / 1.008 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.322e-06/1.253, allocations: 0 / 1.008 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.925e-05/1.253, allocations: 0 / 1.008 GB, free: 71.85 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.005073/1.258, allocations: 2.985 MB / 1.011 GB, free: 70.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/1.258, allocations: 12.12 kB / 1.011 GB, free: 70.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005107/1.263, allocations: 0.8395 MB / 1.012 GB, free: 69.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003521/1.267, allocations: 1.857 MB / 1.014 GB, free: 68.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003509/1.267, allocations: 169.4 kB / 1.014 GB, free: 68.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/1.267, allocations: 149.4 kB / 1.014 GB, free: 68.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/1.27, allocations: 1.663 MB / 1.016 GB, free: 68.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/1.271, allocations: 2.531 kB / 1.016 GB, free: 68.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/1.271, allocations: 53.91 kB / 1.016 GB, free: 68.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-05/1.271, allocations: 49.11 kB / 1.016 GB, free: 68.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002918/1.274, allocations: 1.411 MB / 1.017 GB, free: 68.05 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.008832/1.282, allocations: 7.687 MB / 1.025 GB, free: 63.02 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/1.284, allocations: 1.059 MB / 1.026 GB, free: 62.68 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/1.285, allocations: 0.5091 MB / 1.026 GB, free: 62.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/1.286, allocations: 112.6 kB / 1.026 GB, free: 62.49 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/1.286, allocations: 47.81 kB / 1.026 GB, free: 62.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008645/1.286, allocations: 203.3 kB / 1.027 GB, free: 62.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 2.876e-06/1.286, allocations: 0 / 1.027 GB, free: 62.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.003165/1.29, allocations: 1.398 MB / 1.028 GB, free: 61.81 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/1.29, allocations: 62.5 kB / 1.028 GB, free: 61.74 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/1.291, allocations: 1.791 MB / 1.03 GB, free: 60.28 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/1.291, allocations: 45.7 kB / 1.03 GB, free: 60.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005073/1.292, allocations: 0.985 MB / 1.031 GB, free: 59.24 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/1.292, allocations: 264.8 kB / 1.031 GB, free: 58.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/1.292, allocations: 220.8 kB / 1.031 GB, free: 58.76 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.511e-05/1.293, allocations: 349.9 kB / 1.031 GB, free: 58.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009348/1.293, allocations: 460.6 kB / 1.032 GB, free: 57.96 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/1.295, allocations: 0.8672 MB / 1.033 GB, free: 56.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/1.296, allocations: 1.252 MB / 1.034 GB, free: 55.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/1.297, allocations: 7.938 kB / 1.034 GB, free: 55.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002557/1.299, allocations: 1.445 MB / 1.035 GB, free: 54.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.299, allocations: 11.98 kB / 1.035 GB, free: 54.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.299, allocations: 12 kB / 1.035 GB, free: 54.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/1.299, allocations: 12 kB / 1.035 GB, free: 54.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/1.3, allocations: 280.8 kB / 1.036 GB, free: 53.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002537/1.301, allocations: 0.5988 MB / 1.036 GB, free: 53.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/1.302, allocations: 160 kB / 1.036 GB, free: 53.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.62e-05/1.302, allocations: 51.98 kB / 1.037 GB, free: 53.08 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001426/1.304, allocations: 0.8298 MB / 1.037 GB, free: 52.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009285/1.305, allocations: 0.8098 MB / 1.038 GB, free: 51.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001631/1.306, allocations: 1.152 MB / 1.039 GB, free: 50.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.789e-06/1.306, allocations: 4 kB / 1.039 GB, free: 50.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002208/1.308, allocations: 1.345 MB / 1.041 GB, free: 48.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.309, allocations: 8 kB / 1.041 GB, free: 48.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.309, allocations: 12 kB / 1.041 GB, free: 48.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/1.309, allocations: 16 kB / 1.041 GB, free: 48.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009098/1.309, allocations: 255.3 kB / 1.041 GB, free: 48.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/1.309, allocations: 21.06 kB / 1.041 GB, free: 48.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.311, allocations: 138.4 kB / 1.041 GB, free: 48.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.208e-05/1.311, allocations: 56.47 kB / 1.041 GB, free: 48.25 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.0002629/1.311, allocations: 252.7 kB / 1.041 GB, free: 48.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/1.312, allocations: 193.6 kB / 1.041 GB, free: 47.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/1.314, allocations: 1.102 MB / 1.043 GB, free: 46.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/1.314, allocations: 4 kB / 1.043 GB, free: 46.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.314, allocations: 4 kB / 1.043 GB, free: 46.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001827/1.316, allocations: 0.9318 MB / 1.043 GB, free: 45.75 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.005868/1.322, allocations: 3.034 MB / 1.046 GB, free: 42.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/1.322, allocations: 0 / 1.046 GB, free: 42.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009783/1.323, allocations: 213.5 kB / 1.047 GB, free: 42.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/1.323, allocations: 4 kB / 1.047 GB, free: 42.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.113e-05/1.323, allocations: 23.98 kB / 1.047 GB, free: 42.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001886/1.323, allocations: 0.5924 MB / 1.047 GB, free: 41.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.323, allocations: 0 / 1.047 GB, free: 41.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/1.34, allocations: 8.27 MB / 1.055 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008069/1.341, allocations: 346.6 kB / 1.056 GB, free: 32.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/1.342, allocations: 20 kB / 1.056 GB, free: 32.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/1.343, allocations: 133.5 kB / 1.056 GB, free: 32.71 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.343, allocations: 60.52 kB / 1.056 GB, free: 32.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.843e-05/1.343, allocations: 27.98 kB / 1.056 GB, free: 32.62 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00167/1.345, allocations: 1.216 MB / 1.057 GB, free: 31.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/1.345, allocations: 0 / 1.057 GB, free: 31.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005183/1.35, allocations: 1.513 MB / 1.059 GB, free: 29.88 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.001196/1.351, allocations: 448.7 kB / 1.059 GB, free: 29.47 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003709/1.355, allocations: 1.65 MB / 1.061 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.355, allocations: 0 / 1.061 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/1.356, allocations: 478.1 kB / 1.061 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004616/1.361, allocations: 0.9968 MB / 1.062 GB, free: 26.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006868/1.368, allocations: 4.734 MB / 1.067 GB, free: 21.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.369, allocations: 1.593 MB / 1.068 GB, free: 20.05 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002515/1.372, allocations: 0.5045 MB / 1.069 GB, free: 19.54 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/1.372, allocations: 163.4 kB / 1.069 GB, free: 19.38 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/1.372, allocations: 0 / 1.069 GB, free: 19.38 MB / 0.6823 GB Notification: Performance of Templates: time 0.06747/1.44, allocations: 41.62 MB / 1.109 GB, free: 10.36 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (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)