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.007237/0.007236, allocations: 95.17 kB / 15.73 MB, free: 6.047 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.001633/0.001633, allocations: 206.1 kB / 16.68 MB, free: 5.973 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9459/0.9459, allocations: 135.1 MB / 425.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 67.89 kB / 0.5856 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4426, allocations: 80.91 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7782/1.221, allocations: 323.5 MB / 0.9805 GB, free: 276 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02922/1.25, allocations: 20.2 MB / 1 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005205/1.255, allocations: 96.09 kB / 1 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004798/1.26, allocations: 1.509 MB / 1.002 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01219/1.272, allocations: 4.215 MB / 1.006 GB, free: 8.98 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007164/1.28, allocations: 2.361 MB / 1.008 GB, free: 7.621 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01078/1.29, allocations: 5.94 MB / 1.014 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006143/1.297, allocations: 2.156 MB / 1.016 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01279/1.309, allocations: 3.217 MB / 1.019 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005171/1.315, allocations: 1.706 MB / 1.021 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001115/1.316, allocations: 220 kB / 1.021 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01174/1.328, allocations: 3.686 MB / 1.025 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002455/1.33, allocations: 0.8767 MB / 1.026 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005289/1.335, allocations: 1.326 MB / 1.027 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01793/1.353, allocations: 4.765 MB / 1.032 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/1.353, allocations: 3.938 kB / 1.032 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.695e-06/1.354, allocations: 0 / 1.032 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001842/1.354, allocations: 0 / 1.032 GB, free: 3.582 MB / 0.7169 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.01208/1.366, allocations: 3.067 MB / 1.035 GB, free: 484 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/1.366, allocations: 8.031 kB / 1.035 GB, free: 476 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008135/1.374, allocations: 0.8518 MB / 1.035 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006533/1.381, allocations: 1.939 MB / 1.037 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/1.381, allocations: 110.7 kB / 1.037 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006175/1.381, allocations: 146.4 kB / 1.038 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005644/1.387, allocations: 1.658 MB / 1.039 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.397e-05/1.387, allocations: 4 kB / 1.039 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002579/1.387, allocations: 52 kB / 1.039 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-05/1.388, allocations: 54.56 kB / 1.039 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005106/1.393, allocations: 1.349 MB / 1.041 GB, free: 10.2 MB / 0.7325 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.01878/1.411, allocations: 7.871 MB / 1.048 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/1.414, allocations: 0.9999 MB / 1.049 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/1.416, allocations: 496.9 kB / 1.05 GB, free: 288 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002676/1.416, allocations: 112.5 kB / 1.05 GB, free: 160 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/1.416, allocations: 39.22 kB / 1.05 GB, free: 108 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=72): time 4.208e-06/1.416, allocations: 0 / 1.05 GB, free: 108 kB / 0.7325 GB Notification: Performance of matching and sorting (n=72): time 0.005561/1.422, allocations: 1.344 MB / 1.051 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/1.422, allocations: 60.06 kB / 1.051 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005142/1.427, allocations: 1.801 MB / 1.053 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003339/1.428, allocations: 45.7 kB / 1.053 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001538/1.429, allocations: 1.004 MB / 1.054 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006174/1.43, allocations: 263.3 kB / 1.054 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005713/1.43, allocations: 218.2 kB / 1.054 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.431, allocations: 349.9 kB / 1.055 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/1.432, allocations: 448.5 kB / 1.055 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/1.433, allocations: 0.8265 MB / 1.056 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002592/1.436, allocations: 1.203 MB / 1.057 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/1.436, allocations: 4 kB / 1.057 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003598/1.44, allocations: 1.406 MB / 1.059 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/1.44, allocations: 8 kB / 1.059 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/1.44, allocations: 12 kB / 1.059 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/1.44, allocations: 12 kB / 1.059 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.441, allocations: 276 kB / 1.059 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000539/1.442, allocations: 0.6132 MB / 1.06 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/1.443, allocations: 147.2 kB / 1.06 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/1.443, allocations: 51.97 kB / 1.06 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001718/1.445, allocations: 0.8142 MB / 1.06 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001325/1.447, allocations: 0.7797 MB / 1.061 GB, free: 3.883 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002066/1.449, allocations: 1.114 MB / 1.062 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.434e-06/1.449, allocations: 3.938 kB / 1.062 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.00277/1.451, allocations: 1.304 MB / 1.064 GB, free: 1.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.451, allocations: 15.94 kB / 1.064 GB, free: 1.305 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.451, allocations: 8 kB / 1.064 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.452, allocations: 16.41 kB / 1.064 GB, free: 1.281 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009302/1.452, allocations: 247.6 kB / 1.064 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/1.452, allocations: 19.92 kB / 1.064 GB, free: 1.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/1.454, allocations: 108.9 kB / 1.064 GB, free: 0.9141 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.993e-05/1.454, allocations: 44 kB / 1.064 GB, free: 0.8711 MB / 0.7481 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.0003392/1.454, allocations: 254.8 kB / 1.064 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/1.455, allocations: 206.6 kB / 1.065 GB, free: 424 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/1.457, allocations: 1.051 MB / 1.066 GB, free: 15.35 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.458, allocations: 8 kB / 1.066 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.458, allocations: 4 kB / 1.066 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001899/1.459, allocations: 0.8904 MB / 1.066 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005537/1.465, allocations: 2.848 MB / 1.069 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/1.465, allocations: 4 kB / 1.069 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/1.466, allocations: 207.8 kB / 1.069 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/1.466, allocations: 4 kB / 1.069 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/1.466, allocations: 19.98 kB / 1.069 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003028/1.466, allocations: 0.586 MB / 1.07 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.466, allocations: 4.031 kB / 1.07 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/1.47, allocations: 1.63 MB / 1.072 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007916/1.471, allocations: 363.6 kB / 1.072 GB, free: 8.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/1.471, allocations: 23.98 kB / 1.072 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/1.472, allocations: 51.95 kB / 1.072 GB, free: 8.516 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/1.472, allocations: 44.5 kB / 1.072 GB, free: 8.473 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.259e-05/1.472, allocations: 35.91 kB / 1.072 GB, free: 8.438 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002385/1.475, allocations: 1.22 MB / 1.073 GB, free: 7.199 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/1.475, allocations: 3.938 kB / 1.073 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002894/1.478, allocations: 0.9628 MB / 1.074 GB, free: 6.23 MB / 0.7637 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.001/1.479, allocations: 359.2 kB / 1.075 GB, free: 5.895 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003973/1.483, allocations: 1.6 MB / 1.076 GB, free: 4.301 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.483, allocations: 0 / 1.076 GB, free: 4.301 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.484, allocations: 456.8 kB / 1.077 GB, free: 3.859 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00448/1.488, allocations: 1.059 MB / 1.078 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006286/1.495, allocations: 3.532 MB / 1.081 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/1.496, allocations: 1.566 MB / 1.083 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001939/1.498, allocations: 488.4 kB / 1.083 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/1.499, allocations: 147.4 kB / 1.083 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of SimCode: time 2.485e-06/1.499, allocations: 0 / 1.083 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of Templates: time 0.06191/1.561, allocations: 38.19 MB / 1.12 GB, free: 7.309 MB / 0.8106 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)