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.0008836/0.0008837, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00489/0.00489, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.272/1.272, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8936/0.8936, allocations: 135.7 MB / 427.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.0002669, allocations: 12.78 kB / 0.5081 GB, free: 4.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1389, allocations: 82.39 MB / 0.5886 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7856/0.9245, allocations: 317 MB / 0.8982 GB, free: 33.23 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0192/0.9438, allocations: 20.14 MB / 0.9179 GB, free: 32.99 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.9459, allocations: 81.38 kB / 0.9179 GB, free: 32.99 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002715/0.9486, allocations: 1.312 MB / 0.9192 GB, free: 32.95 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007667/0.9563, allocations: 3.948 MB / 0.9231 GB, free: 32.75 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003967/0.9602, allocations: 2.091 MB / 0.9251 GB, free: 32.7 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007574/0.9678, allocations: 8.005 MB / 0.9329 GB, free: 32.67 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002228/0.9701, allocations: 1.812 MB / 0.9347 GB, free: 32.38 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004825/0.9749, allocations: 2.817 MB / 0.9374 GB, free: 32.33 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/0.9773, allocations: 1.722 MB / 0.9391 GB, free: 32.32 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.9775, allocations: 89.94 kB / 0.9392 GB, free: 32.32 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005574/0.983, allocations: 4.034 MB / 0.9432 GB, free: 32.28 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005816/0.9836, allocations: 0.7457 MB / 0.9439 GB, free: 32.27 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009537/0.9846, allocations: 1.201 MB / 0.9451 GB, free: 32.24 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004261/0.9889, allocations: 4.75 MB / 0.9497 GB, free: 30.22 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.9889, allocations: 2.812 kB / 0.9497 GB, free: 30.22 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9889, allocations: 0 / 0.9497 GB, free: 30.22 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.973e-05/0.9889, allocations: 2.531 kB / 0.9497 GB, free: 30.22 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.00306/0.992, allocations: 2.538 MB / 0.9522 GB, free: 28.57 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.992, allocations: 9.375 kB / 0.9522 GB, free: 28.57 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/0.9965, allocations: 0.8735 MB / 0.953 GB, free: 28.2 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.999, allocations: 1.867 MB / 0.9549 GB, free: 27.29 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003362/0.9993, allocations: 185.8 kB / 0.955 GB, free: 27.26 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.9995, allocations: 144.9 kB / 0.9552 GB, free: 27.26 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/1.002, allocations: 1.683 MB / 0.9568 GB, free: 26.77 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/1.002, allocations: 0 / 0.9568 GB, free: 26.77 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/1.002, allocations: 51.97 kB / 0.9569 GB, free: 26.77 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/1.002, allocations: 49.33 kB / 0.9569 GB, free: 26.77 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/1.005, allocations: 1.433 MB / 0.9583 GB, free: 26.52 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.006913/1.012, allocations: 7.744 MB / 0.9659 GB, free: 21.46 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/1.013, allocations: 1.077 MB / 0.9669 GB, free: 21.12 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009588/1.014, allocations: 0.526 MB / 0.9674 GB, free: 21.03 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/1.014, allocations: 115.2 kB / 0.9676 GB, free: 20.93 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/1.015, allocations: 38.06 kB / 0.9676 GB, free: 20.89 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006033/1.015, allocations: 201 kB / 0.9678 GB, free: 20.79 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 1.903e-06/1.015, allocations: 0 / 0.9678 GB, free: 20.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.002941/1.018, allocations: 1.438 MB / 0.9692 GB, free: 20.46 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/1.018, allocations: 58.81 kB / 0.9692 GB, free: 20.39 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/1.02, allocations: 1.798 MB / 0.971 GB, free: 19.61 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/1.02, allocations: 48.36 kB / 0.971 GB, free: 19.56 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000479/1.02, allocations: 0.9817 MB / 0.972 GB, free: 18.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/1.02, allocations: 268.2 kB / 0.9723 GB, free: 18.47 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/1.021, allocations: 88.02 kB / 0.9723 GB, free: 18.41 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.367e-05/1.021, allocations: 347.5 kB / 0.9727 GB, free: 18.07 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009093/1.022, allocations: 474.1 kB / 0.9731 GB, free: 17.86 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/1.023, allocations: 0.873 MB / 0.974 GB, free: 17.11 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/1.025, allocations: 1.278 MB / 0.9752 GB, free: 16.27 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.025, allocations: 3.312 kB / 0.9752 GB, free: 16.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002353/1.027, allocations: 1.471 MB / 0.9767 GB, free: 15.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/1.027, allocations: 377.7 kB / 0.977 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.027, allocations: 9.719 kB / 0.977 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.027, allocations: 15.72 kB / 0.977 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.028, allocations: 289.7 kB / 0.9773 GB, free: 15.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002062/1.028, allocations: 0.6076 MB / 0.9779 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/1.03, allocations: 150 kB / 0.9781 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/1.03, allocations: 56.62 kB / 0.9781 GB, free: 14.38 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-06/1.03, allocations: 5.375 kB / 0.9781 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001844/1.032, allocations: 1.163 MB / 0.9793 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.032, allocations: 9.5 kB / 0.9793 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/1.032, allocations: 23.45 kB / 0.9793 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/1.032, allocations: 260.4 kB / 0.9795 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/1.033, allocations: 21.69 kB / 0.9796 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/1.034, allocations: 145 kB / 0.9797 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.854e-05/1.034, allocations: 51.98 kB / 0.9797 GB, free: 13.45 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 (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.0006162/1.034, allocations: 0.5875 MB / 0.9803 GB, free: 12.87 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/1.034, allocations: 193.5 kB / 0.9805 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/1.037, allocations: 1.121 MB / 0.9816 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.037, allocations: 8 kB / 0.9816 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.037, allocations: 3.984 kB / 0.9816 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00164/1.038, allocations: 0.9553 MB / 0.9825 GB, free: 10.55 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.003934/1.042, allocations: 3.072 MB / 0.9855 GB, free: 7.379 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.042, allocations: 0 / 0.9855 GB, free: 7.379 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008969/1.043, allocations: 217.2 kB / 0.9857 GB, free: 7.176 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/1.043, allocations: 4 kB / 0.9858 GB, free: 7.172 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/1.043, allocations: 19.98 kB / 0.9858 GB, free: 7.152 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001459/1.043, allocations: 0.5976 MB / 0.9864 GB, free: 6.531 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/1.043, allocations: 6.719 kB / 0.9864 GB, free: 6.527 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/1.046, allocations: 1.701 MB / 0.988 GB, free: 4.797 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004038/1.046, allocations: 350.5 kB / 0.9884 GB, free: 4.434 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/1.047, allocations: 20 kB / 0.9884 GB, free: 4.414 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/1.048, allocations: 144.4 kB / 0.9885 GB, free: 4.273 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/1.048, allocations: 44.59 kB / 0.9886 GB, free: 4.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/1.048, allocations: 27.98 kB / 0.9886 GB, free: 4.203 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00113/1.049, allocations: 1.224 MB / 0.9898 GB, free: 2.961 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/1.049, allocations: 2.531 kB / 0.9898 GB, free: 2.961 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001757/1.051, allocations: 0.9742 MB / 0.9907 GB, free: 1.984 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.0006107/1.051, allocations: 370.7 kB / 0.9911 GB, free: 1.648 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002881/1.054, allocations: 1.697 MB / 0.9927 GB, free: 20 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.054, allocations: 2.531 kB / 0.9927 GB, free: 20 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/1.055, allocations: 487.6 kB / 0.9932 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004177/1.06, allocations: 1.002 MB / 0.9942 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005755/1.065, allocations: 4.359 MB / 0.9984 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/1.067, allocations: 1.562 MB / 1 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001744/1.068, allocations: 496.6 kB / 1 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/1.069, allocations: 147.4 kB / 1.001 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of SimCode: time 2.61e-07/1.069, allocations: 0 / 1.001 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of Templates: time 0.05964/1.128, allocations: 37.1 MB / 1.037 GB, free: 3.406 MB / 0.7169 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)