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.001036/0.001036, allocations: 102.4 kB / 16.35 MB, free: 5.824 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.001049/0.001049, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7664/0.7664, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.001211, allocations: 55.91 kB / 0.5067 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.31, allocations: 80.91 MB / 0.5858 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.5705/0.8805, allocations: 323.5 MB / 0.9017 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02722/0.9078, allocations: 20.2 MB / 0.9214 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003011/0.9108, allocations: 91.5 kB / 0.9215 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003818/0.9146, allocations: 1.499 MB / 0.9229 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.9247, allocations: 4.227 MB / 0.9271 GB, free: 16 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005218/0.93, allocations: 2.35 MB / 0.9294 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007714/0.9377, allocations: 5.937 MB / 0.9352 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002972/0.9407, allocations: 2.154 MB / 0.9373 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006129/0.9468, allocations: 3.223 MB / 0.9404 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003093/0.95, allocations: 1.719 MB / 0.9421 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003606/0.9503, allocations: 216 kB / 0.9423 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00653/0.9569, allocations: 3.691 MB / 0.9459 GB, free: 12.66 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009263/0.9578, allocations: 0.8608 MB / 0.9467 GB, free: 11.79 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0016/0.9594, allocations: 1.337 MB / 0.948 GB, free: 10.45 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.9697, allocations: 4.748 MB / 0.9527 GB, free: 5.688 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9697, allocations: 0 / 0.9527 GB, free: 5.688 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9697, allocations: 0 / 0.9527 GB, free: 5.688 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.458e-05/0.9697, allocations: 0 / 0.9527 GB, free: 5.688 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.004771/0.9745, allocations: 2.959 MB / 0.9556 GB, free: 2.664 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.9746, allocations: 13.11 kB / 0.9556 GB, free: 2.652 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005278/0.9799, allocations: 0.8397 MB / 0.9564 GB, free: 1.809 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004112/0.984, allocations: 1.916 MB / 0.9583 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.9841, allocations: 114.6 kB / 0.9584 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.9844, allocations: 144 kB / 0.9585 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/0.9873, allocations: 1.658 MB / 0.9601 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.9873, allocations: 4 kB / 0.9601 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.9874, allocations: 55.94 kB / 0.9602 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.085e-05/0.9875, allocations: 50.58 kB / 0.9602 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002826/0.9903, allocations: 1.353 MB / 0.9616 GB, free: 12.37 MB / 0.6856 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.009414/0.9997, allocations: 7.845 MB / 0.9692 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/1.002, allocations: 1.004 MB / 0.9702 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000987/1.003, allocations: 483.5 kB / 0.9707 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/1.003, allocations: 113.7 kB / 0.9708 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/1.003, allocations: 43.22 kB / 0.9708 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 3.156e-06/1.003, allocations: 0 / 0.9708 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72): time 0.003307/1.006, allocations: 1.339 MB / 0.9721 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/1.006, allocations: 60.06 kB / 0.9722 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/1.008, allocations: 1.794 MB / 0.9739 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/1.008, allocations: 45.7 kB / 0.974 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008889/1.009, allocations: 0.9917 MB / 0.9749 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/1.01, allocations: 256.3 kB / 0.9752 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/1.01, allocations: 214.5 kB / 0.9754 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.01, allocations: 345.9 kB / 0.9757 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009647/1.011, allocations: 452.5 kB / 0.9762 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/1.012, allocations: 0.8304 MB / 0.977 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/1.015, allocations: 1.203 MB / 0.9781 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/1.015, allocations: 4 kB / 0.9781 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002973/1.018, allocations: 1.393 MB / 0.9795 GB, free: 8.918 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/1.018, allocations: 11.98 kB / 0.9795 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.018, allocations: 12 kB / 0.9795 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/1.018, allocations: 15.94 kB / 0.9795 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/1.019, allocations: 268 kB / 0.9798 GB, free: 8.617 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003886/1.019, allocations: 0.6093 MB / 0.9804 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/1.021, allocations: 144.2 kB / 0.9805 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.694e-05/1.021, allocations: 47.98 kB / 0.9806 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001585/1.022, allocations: 0.8181 MB / 0.9814 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001013/1.023, allocations: 0.7758 MB / 0.9821 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00179/1.025, allocations: 1.11 MB / 0.9832 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/1.025, allocations: 4 kB / 0.9832 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002365/1.028, allocations: 1.292 MB / 0.9845 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.028, allocations: 12 kB / 0.9845 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/1.028, allocations: 8.406 kB / 0.9845 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.028, allocations: 20 kB / 0.9845 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009011/1.029, allocations: 243.6 kB / 0.9848 GB, free: 3.199 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/1.029, allocations: 23.86 kB / 0.9848 GB, free: 3.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/1.03, allocations: 116.6 kB / 0.9849 GB, free: 3.062 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.004e-05/1.03, allocations: 51.92 kB / 0.9849 GB, free: 3.012 MB / 0.7012 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.0002619/1.03, allocations: 244 kB / 0.9852 GB, free: 2.766 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/1.03, allocations: 189.6 kB / 0.9854 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/1.033, allocations: 1.059 MB / 0.9864 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/1.033, allocations: 11.94 kB / 0.9864 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.033, allocations: 3.984 kB / 0.9864 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001731/1.034, allocations: 0.8827 MB / 0.9873 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004484/1.039, allocations: 2.849 MB / 0.99 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.039, allocations: 4 kB / 0.9901 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009738/1.04, allocations: 211.8 kB / 0.9903 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/1.04, allocations: 4 kB / 0.9903 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/1.04, allocations: 23.98 kB / 0.9903 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002756/1.04, allocations: 0.5859 MB / 0.9909 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.04, allocations: 4.031 kB / 0.9909 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/1.043, allocations: 1.614 MB / 0.9924 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005915/1.044, allocations: 358.5 kB / 0.9928 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/1.044, allocations: 19.94 kB / 0.9928 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008866/1.045, allocations: 63.88 kB / 0.9929 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/1.045, allocations: 44.53 kB / 0.9929 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.19e-05/1.045, allocations: 31.98 kB / 0.9929 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001464/1.047, allocations: 1.22 MB / 0.9941 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.047, allocations: 0 / 0.9941 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002033/1.049, allocations: 0.9623 MB / 0.9951 GB, free: 8.383 MB / 0.7169 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.0007355/1.049, allocations: 361.9 kB / 0.9954 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003473/1.053, allocations: 1.592 MB / 0.997 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.053, allocations: 1.75 kB / 0.997 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009922/1.054, allocations: 455.1 kB / 0.9974 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/1.057, allocations: 1.057 MB / 0.9984 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004994/1.062, allocations: 3.475 MB / 1.002 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/1.063, allocations: 1.562 MB / 1.003 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001517/1.065, allocations: 480.5 kB / 1.004 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/1.065, allocations: 147.4 kB / 1.004 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of SimCode: time 4.9e-07/1.065, allocations: 0 / 1.004 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.2933/1.359, allocations: 37.96 MB / 1.041 GB, free: 326 MB / 0.7481 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)