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.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001137/0.001137, allocations: 195.6 kB / 16.14 MB, free: 6.645 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.359/1.359, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9498/0.9498, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 64.86 kB / 0.5047 GB, free: 5.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.2, allocations: 80.92 MB / 0.5837 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.126/1.326, allocations: 321.4 MB / 0.8975 GB, free: 32.27 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03329/1.36, allocations: 20.38 MB / 0.9174 GB, free: 32 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006502/1.366, allocations: 86.94 kB / 0.9175 GB, free: 32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006651/1.373, allocations: 1.308 MB / 0.9188 GB, free: 31.96 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01501/1.388, allocations: 3.954 MB / 0.9227 GB, free: 31.76 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007862/1.396, allocations: 2.088 MB / 0.9247 GB, free: 31.71 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01371/1.409, allocations: 8.01 MB / 0.9325 GB, free: 31.69 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00495/1.414, allocations: 1.871 MB / 0.9344 GB, free: 31.38 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009534/1.424, allocations: 2.879 MB / 0.9372 GB, free: 31.33 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005151/1.429, allocations: 1.793 MB / 0.9389 GB, free: 31.11 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001154/1.43, allocations: 116.3 kB / 0.939 GB, free: 31.11 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009644/1.44, allocations: 4.058 MB / 0.943 GB, free: 31.07 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001979/1.442, allocations: 0.7874 MB / 0.9438 GB, free: 30.96 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003788/1.446, allocations: 1.228 MB / 0.945 GB, free: 30.59 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01122/1.457, allocations: 4.832 MB / 0.9497 GB, free: 28.9 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/1.457, allocations: 6.875 kB / 0.9497 GB, free: 28.9 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.004e-06/1.457, allocations: 0 / 0.9497 GB, free: 28.9 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001535/1.457, allocations: 0 / 0.9497 GB, free: 28.9 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.008489/1.466, allocations: 2.987 MB / 0.9526 GB, free: 27.14 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.466, allocations: 8.531 kB / 0.9526 GB, free: 27.14 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006047/1.472, allocations: 0.8407 MB / 0.9534 GB, free: 26.77 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005363/1.477, allocations: 1.861 MB / 0.9552 GB, free: 25.86 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004552/1.478, allocations: 166.6 kB / 0.9554 GB, free: 25.84 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005982/1.478, allocations: 148.5 kB / 0.9555 GB, free: 25.84 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004754/1.483, allocations: 1.661 MB / 0.9572 GB, free: 25.35 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.839e-05/1.483, allocations: 6.422 kB / 0.9572 GB, free: 25.34 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/1.484, allocations: 56.66 kB / 0.9572 GB, free: 25.34 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-05/1.484, allocations: 47.52 kB / 0.9573 GB, free: 25.34 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003226/1.487, allocations: 1.4 MB / 0.9586 GB, free: 25.1 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.01273/1.5, allocations: 7.701 MB / 0.9662 GB, free: 18.64 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/1.502, allocations: 1.064 MB / 0.9672 GB, free: 17.97 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/1.503, allocations: 0.5051 MB / 0.9677 GB, free: 17.73 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/1.503, allocations: 114.4 kB / 0.9678 GB, free: 17.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/1.503, allocations: 38.53 kB / 0.9678 GB, free: 17.58 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001216/1.504, allocations: 204 kB / 0.968 GB, free: 17.47 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 2.996e-06/1.504, allocations: 0 / 0.968 GB, free: 17.47 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.003421/1.508, allocations: 1.399 MB / 0.9694 GB, free: 16.79 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/1.508, allocations: 61.22 kB / 0.9695 GB, free: 16.73 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/1.51, allocations: 1.79 MB / 0.9712 GB, free: 15.75 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/1.51, allocations: 42.39 kB / 0.9712 GB, free: 15.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005757/1.51, allocations: 0.9911 MB / 0.9722 GB, free: 14.84 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/1.511, allocations: 264.3 kB / 0.9725 GB, free: 14.61 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/1.511, allocations: 214.8 kB / 0.9727 GB, free: 14.49 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.314e-05/1.511, allocations: 348 kB / 0.973 GB, free: 14.15 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009618/1.512, allocations: 473.8 kB / 0.9735 GB, free: 13.92 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/1.513, allocations: 0.8579 MB / 0.9743 GB, free: 13.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/1.515, allocations: 1.251 MB / 0.9755 GB, free: 11.67 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.515, allocations: 0 / 0.9755 GB, free: 11.67 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002751/1.518, allocations: 1.452 MB / 0.9769 GB, free: 10.27 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.518, allocations: 8.281 kB / 0.9769 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.518, allocations: 12 kB / 0.977 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/1.518, allocations: 16 kB / 0.977 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/1.519, allocations: 283 kB / 0.9772 GB, free: 9.969 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002574/1.519, allocations: 0.6052 MB / 0.9778 GB, free: 9.348 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/1.521, allocations: 149.1 kB / 0.978 GB, free: 9.203 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.769e-05/1.521, allocations: 55.97 kB / 0.978 GB, free: 9.148 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001444/1.523, allocations: 0.8298 MB / 0.9788 GB, free: 8.316 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009779/1.524, allocations: 0.8088 MB / 0.9796 GB, free: 7.34 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001622/1.525, allocations: 1.15 MB / 0.9808 GB, free: 6.094 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.931e-06/1.525, allocations: 5.484 kB / 0.9808 GB, free: 6.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002218/1.527, allocations: 1.342 MB / 0.9821 GB, free: 4.797 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.528, allocations: 14.78 kB / 0.9821 GB, free: 4.785 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/1.528, allocations: 12 kB / 0.9821 GB, free: 4.773 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/1.528, allocations: 12 kB / 0.9821 GB, free: 4.762 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000918/1.528, allocations: 251.1 kB / 0.9823 GB, free: 4.531 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/1.529, allocations: 26.45 kB / 0.9824 GB, free: 4.508 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/1.53, allocations: 147.7 kB / 0.9825 GB, free: 4.363 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.076e-05/1.53, allocations: 44 kB / 0.9826 GB, free: 4.32 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.0002423/1.53, allocations: 247.3 kB / 0.9828 GB, free: 4.086 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/1.53, allocations: 201.5 kB / 0.983 GB, free: 3.887 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/1.533, allocations: 1.094 MB / 0.984 GB, free: 2.789 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.533, allocations: 11.94 kB / 0.9841 GB, free: 2.777 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.533, allocations: 0 / 0.9841 GB, free: 2.777 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001725/1.535, allocations: 0.9256 MB / 0.985 GB, free: 1.824 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.005179/1.54, allocations: 3.039 MB / 0.9879 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.54, allocations: 0 / 0.9879 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/1.541, allocations: 211.6 kB / 0.9881 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/1.541, allocations: 4 kB / 0.9881 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/1.541, allocations: 27.97 kB / 0.9882 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003113/1.541, allocations: 0.5886 MB / 0.9887 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.541, allocations: 4.094 kB / 0.9887 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/1.545, allocations: 1.665 MB / 0.9904 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009426/1.546, allocations: 354.5 kB / 0.9907 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/1.546, allocations: 12 kB / 0.9907 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/1.547, allocations: 139.7 kB / 0.9908 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/1.547, allocations: 51.3 kB / 0.9909 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/1.548, allocations: 31.97 kB / 0.9909 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002459/1.55, allocations: 1.216 MB / 0.9921 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/1.55, allocations: 0 / 0.9921 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003289/1.553, allocations: 0.9764 MB / 0.9931 GB, free: 9.34 MB / 0.6856 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.001381/1.555, allocations: 363.7 kB / 0.9934 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004394/1.559, allocations: 1.658 MB / 0.995 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.559, allocations: 0 / 0.995 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/1.56, allocations: 483.6 kB / 0.9955 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005087/1.565, allocations: 0.9981 MB / 0.9965 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008269/1.574, allocations: 4.264 MB / 1.001 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002242/1.576, allocations: 1.57 MB / 1.002 GB, free: 104 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002914/1.579, allocations: 492.6 kB / 1.003 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006212/1.58, allocations: 151.3 kB / 1.003 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of SimCode: time 3.406e-06/1.58, allocations: 0 / 1.003 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of Templates: time 0.07189/1.652, allocations: 37.31 MB / 1.039 GB, free: 10.71 MB / 0.7325 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)