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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007811/0.0007811, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.005129/0.005129, allocations: 170.8 kB / 16.27 MB, free: 6.652 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8354/0.8354, allocations: 132.4 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 8 kB / 0.504 GB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.524/0.5243, allocations: 81.58 MB / 0.5837 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.8359/1.36, allocations: 317.1 MB / 0.8933 GB, free: 37.05 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02812/1.388, allocations: 20.13 MB / 0.913 GB, free: 36.61 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004024/1.393, allocations: 85.88 kB / 0.913 GB, free: 36.61 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004448/1.397, allocations: 1.309 MB / 0.9143 GB, free: 36.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01048/1.408, allocations: 3.958 MB / 0.9182 GB, free: 35.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005697/1.413, allocations: 2.09 MB / 0.9202 GB, free: 35.33 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008792/1.422, allocations: 8.007 MB / 0.928 GB, free: 32.67 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/1.425, allocations: 1.809 MB / 0.9298 GB, free: 31.64 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006418/1.432, allocations: 2.812 MB / 0.9325 GB, free: 30.77 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003484/1.435, allocations: 1.727 MB / 0.9342 GB, free: 29.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006695/1.436, allocations: 92 kB / 0.9343 GB, free: 29.64 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007819/1.444, allocations: 4.034 MB / 0.9383 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00151/1.445, allocations: 0.7442 MB / 0.939 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002501/1.448, allocations: 1.198 MB / 0.9402 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007994/1.456, allocations: 4.754 MB / 0.9448 GB, free: 19.93 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.456, allocations: 0 / 0.9448 GB, free: 19.93 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.176e-06/1.456, allocations: 0 / 0.9448 GB, free: 19.93 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.333e-05/1.456, allocations: 3.938 kB / 0.9448 GB, free: 19.93 MB / 0.6387 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.004373/1.46, allocations: 2.53 MB / 0.9473 GB, free: 17.37 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.461, allocations: 12.03 kB / 0.9473 GB, free: 17.36 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005577/1.466, allocations: 0.878 MB / 0.9481 GB, free: 16.48 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003321/1.469, allocations: 1.859 MB / 0.95 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/1.47, allocations: 185.2 kB / 0.9501 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/1.47, allocations: 151.7 kB / 0.9503 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/1.473, allocations: 1.673 MB / 0.9519 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/1.473, allocations: 2.812 kB / 0.9519 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/1.473, allocations: 56 kB / 0.952 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/1.473, allocations: 54.59 kB / 0.952 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002925/1.476, allocations: 1.433 MB / 0.9534 GB, free: 11.03 MB / 0.6387 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.009115/1.485, allocations: 7.737 MB / 0.961 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/1.487, allocations: 1.076 MB / 0.962 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/1.488, allocations: 0.5295 MB / 0.9625 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/1.488, allocations: 108.6 kB / 0.9627 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/1.488, allocations: 43.22 kB / 0.9627 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009144/1.489, allocations: 195 kB / 0.9629 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 4.028e-06/1.489, allocations: 0 / 0.9629 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.003716/1.493, allocations: 1.439 MB / 0.9643 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/1.493, allocations: 60.06 kB / 0.9643 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/1.496, allocations: 1.793 MB / 0.9661 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001517/1.496, allocations: 45.7 kB / 0.9661 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008348/1.497, allocations: 0.9873 MB / 0.9671 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/1.497, allocations: 266.7 kB / 0.9674 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/1.497, allocations: 93.66 kB / 0.9674 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001904/1.497, allocations: 345.9 kB / 0.9678 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/1.499, allocations: 476.6 kB / 0.9682 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/1.5, allocations: 0.8643 MB / 0.9691 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002503/1.502, allocations: 1.277 MB / 0.9703 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/1.503, allocations: 7 kB / 0.9703 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003329/1.506, allocations: 1.479 MB / 0.9718 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.00029/1.506, allocations: 375.9 kB / 0.9721 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/1.506, allocations: 8 kB / 0.9721 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/1.506, allocations: 16 kB / 0.9722 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/1.508, allocations: 294.9 kB / 0.9724 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004106/1.508, allocations: 0.6056 MB / 0.973 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/1.51, allocations: 153.1 kB / 0.9732 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/1.51, allocations: 55.98 kB / 0.9732 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/1.51, allocations: 0 / 0.9732 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002408/1.512, allocations: 1.165 MB / 0.9744 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.512, allocations: 12 kB / 0.9744 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/1.512, allocations: 12.28 kB / 0.9744 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009659/1.513, allocations: 262.5 kB / 0.9746 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/1.513, allocations: 19.19 kB / 0.9747 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/1.515, allocations: 149 kB / 0.9748 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/1.515, allocations: 48 kB / 0.9748 GB, free: 4.238 MB / 0.6544 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.001082/1.516, allocations: 0.5886 MB / 0.9754 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000324/1.517, allocations: 193.6 kB / 0.9756 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/1.519, allocations: 1.133 MB / 0.9767 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.519, allocations: 8 kB / 0.9767 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/1.519, allocations: 0 / 0.9767 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002117/1.521, allocations: 0.949 MB / 0.9776 GB, free: 1.332 MB / 0.6544 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.006025/1.527, allocations: 3.065 MB / 0.9806 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/1.528, allocations: 4 kB / 0.9806 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/1.529, allocations: 215.8 kB / 0.9808 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/1.529, allocations: 8 kB / 0.9809 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/1.529, allocations: 23.98 kB / 0.9809 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003664/1.529, allocations: 0.5966 MB / 0.9815 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.529, allocations: 0 / 0.9815 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003681/1.533, allocations: 1.697 MB / 0.9831 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008656/1.534, allocations: 358.5 kB / 0.9835 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/1.534, allocations: 16 kB / 0.9835 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.535, allocations: 148.7 kB / 0.9836 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/1.535, allocations: 47.41 kB / 0.9837 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/1.535, allocations: 35.97 kB / 0.9837 GB, free: 10.97 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001832/1.537, allocations: 1.216 MB / 0.9849 GB, free: 9.738 MB / 0.67 GB Notification: Performance of sort global known variables: time 3e-07/1.537, allocations: 0 / 0.9849 GB, free: 9.738 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002724/1.54, allocations: 0.9701 MB / 0.9858 GB, free: 8.77 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 (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.0009258/1.541, allocations: 369.2 kB / 0.9862 GB, free: 8.43 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004119/1.545, allocations: 1.691 MB / 0.9878 GB, free: 6.809 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.545, allocations: 0 / 0.9878 GB, free: 6.809 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/1.546, allocations: 495.1 kB / 0.9883 GB, free: 6.344 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00547/1.552, allocations: 1.009 MB / 0.9893 GB, free: 5.367 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007608/1.559, allocations: 4.348 MB / 0.9935 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/1.561, allocations: 1.57 MB / 0.9951 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002351/1.563, allocations: 484.7 kB / 0.9955 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/1.564, allocations: 155.4 kB / 0.9957 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of SimCode: time 1.142e-06/1.564, allocations: 0 / 0.9957 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of Templates: time 0.06441/1.628, allocations: 37.12 MB / 1.032 GB, free: 10.21 MB / 0.7169 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)