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.008245/0.008245, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001991/0.001991, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7817/0.7817, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 55.91 kB / 0.5814 GB, free: 7.531 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4577, allocations: 80.2 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter floMacSta.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter floMacDyn.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.743/1.201, allocations: 323.5 MB / 0.9756 GB, free: 480 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02488/1.226, allocations: 20.21 MB / 0.9953 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003589/1.229, allocations: 94.69 kB / 0.9954 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004139/1.233, allocations: 1.551 MB / 0.9969 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01131/1.245, allocations: 4.377 MB / 1.001 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005868/1.251, allocations: 2.349 MB / 1.003 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008083/1.259, allocations: 5.943 MB / 1.009 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003442/1.262, allocations: 2.164 MB / 1.011 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007711/1.27, allocations: 3.315 MB / 1.015 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/1.273, allocations: 1.721 MB / 1.016 GB, free: 364 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006438/1.274, allocations: 220 kB / 1.017 GB, free: 144 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008252/1.282, allocations: 3.693 MB / 1.02 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001696/1.284, allocations: 0.8751 MB / 1.021 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00337/1.287, allocations: 1.328 MB / 1.022 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01049/1.298, allocations: 4.742 MB / 1.027 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.298, allocations: 3.984 kB / 1.027 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.452e-06/1.298, allocations: 0 / 1.027 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.728e-05/1.298, allocations: 8 kB / 1.027 GB, free: 6.391 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.005664/1.304, allocations: 2.961 MB / 1.03 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/1.304, allocations: 8.031 kB / 1.03 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005538/1.309, allocations: 0.8392 MB / 1.031 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004294/1.314, allocations: 1.918 MB / 1.033 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/1.314, allocations: 114.7 kB / 1.033 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/1.314, allocations: 155 kB / 1.033 GB, free: 388 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003257/1.317, allocations: 1.64 MB / 1.034 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/1.317, allocations: 7.984 kB / 1.034 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/1.318, allocations: 60 kB / 1.034 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.567e-05/1.318, allocations: 46.58 kB / 1.034 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003047/1.321, allocations: 1.35 MB / 1.036 GB, free: 13.22 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.01016/1.331, allocations: 7.865 MB / 1.043 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/1.333, allocations: 0.9936 MB / 1.044 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/1.334, allocations: 496.4 kB / 1.045 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/1.334, allocations: 112.6 kB / 1.045 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/1.334, allocations: 43.22 kB / 1.045 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=72): time 2.695e-06/1.334, allocations: 0 / 1.045 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72): time 0.00358/1.338, allocations: 1.33 MB / 1.046 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/1.338, allocations: 64.06 kB / 1.046 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/1.34, allocations: 1.801 MB / 1.048 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/1.34, allocations: 41.7 kB / 1.048 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007537/1.341, allocations: 0.9865 MB / 1.049 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/1.341, allocations: 257.3 kB / 1.049 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/1.342, allocations: 214.4 kB / 1.05 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.342, allocations: 345.9 kB / 1.05 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/1.343, allocations: 452.6 kB / 1.05 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/1.344, allocations: 0.8299 MB / 1.051 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/1.347, allocations: 1.204 MB / 1.052 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.347, allocations: 0 / 1.052 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003102/1.35, allocations: 1.401 MB / 1.054 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.35, allocations: 12.41 kB / 1.054 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/1.35, allocations: 12 kB / 1.054 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/1.35, allocations: 16 kB / 1.054 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/1.351, allocations: 271.5 kB / 1.054 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003801/1.352, allocations: 0.6055 MB / 1.055 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/1.353, allocations: 147.5 kB / 1.055 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.353, allocations: 51.98 kB / 1.055 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001591/1.355, allocations: 0.8142 MB / 1.056 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001156/1.356, allocations: 0.7835 MB / 1.056 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001955/1.358, allocations: 1.102 MB / 1.057 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.673e-06/1.358, allocations: 7.938 kB / 1.057 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002687/1.36, allocations: 1.299 MB / 1.059 GB, free: 4.535 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.361, allocations: 8 kB / 1.059 GB, free: 4.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.361, allocations: 8 kB / 1.059 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/1.361, allocations: 19.94 kB / 1.059 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009692/1.362, allocations: 243.8 kB / 1.059 GB, free: 4.262 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/1.362, allocations: 15.94 kB / 1.059 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/1.363, allocations: 112.6 kB / 1.059 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/1.363, allocations: 47.98 kB / 1.059 GB, free: 4.086 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.0003098/1.363, allocations: 249.9 kB / 1.059 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/1.364, allocations: 193.5 kB / 1.06 GB, free: 3.645 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/1.366, allocations: 1.055 MB / 1.061 GB, free: 2.574 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/1.366, allocations: 12 kB / 1.061 GB, free: 2.562 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/1.366, allocations: 4 kB / 1.061 GB, free: 2.559 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001941/1.368, allocations: 0.8826 MB / 1.062 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005276/1.373, allocations: 2.858 MB / 1.064 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/1.373, allocations: 0 / 1.064 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/1.374, allocations: 203.9 kB / 1.065 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.375, allocations: 4 kB / 1.065 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.866e-05/1.375, allocations: 19.98 kB / 1.065 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003045/1.375, allocations: 0.5977 MB / 1.065 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.375, allocations: 0 / 1.065 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/1.378, allocations: 1.614 MB / 1.067 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007912/1.379, allocations: 366.4 kB / 1.067 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/1.379, allocations: 12 kB / 1.067 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009664/1.38, allocations: 55.89 kB / 1.067 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.38, allocations: 44.5 kB / 1.067 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/1.381, allocations: 31.97 kB / 1.067 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001749/1.382, allocations: 1.228 MB / 1.068 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.9e-07/1.382, allocations: 0 / 1.068 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002225/1.385, allocations: 0.9507 MB / 1.069 GB, free: 9.484 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.0007491/1.385, allocations: 359 kB / 1.07 GB, free: 9.156 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003747/1.389, allocations: 1.604 MB / 1.071 GB, free: 7.559 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.389, allocations: 4.125 kB / 1.071 GB, free: 7.555 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/1.39, allocations: 455.1 kB / 1.072 GB, free: 7.113 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003794/1.394, allocations: 1.056 MB / 1.073 GB, free: 6.121 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005754/1.4, allocations: 3.457 MB / 1.076 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/1.401, allocations: 1.562 MB / 1.078 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001727/1.403, allocations: 484.5 kB / 1.078 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/1.403, allocations: 155.4 kB / 1.078 GB, free: 408 kB / 0.7637 GB Notification: Performance of SimCode: time 6.31e-07/1.403, allocations: 0 / 1.078 GB, free: 408 kB / 0.7637 GB Notification: Performance of Templates: time 0.06614/1.469, allocations: 38.19 MB / 1.115 GB, free: 10.73 MB / 0.8106 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)