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.008306/0.008306, allocations: 101 kB / 15.73 MB, free: 6.043 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.001503/0.001503, allocations: 188.3 kB / 16.67 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9784/0.9784, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.89 kB / 0.5856 GB, free: 3.336 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4479, allocations: 80.9 MB / 0.6646 GB, free: 7.625 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.8223/1.27, allocations: 323.5 MB / 0.9806 GB, free: 256 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03041/1.301, allocations: 20.21 MB / 1 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005761/1.307, allocations: 91.5 kB / 1 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005731/1.312, allocations: 1.56 MB / 1.002 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01443/1.327, allocations: 4.369 MB / 1.006 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006587/1.333, allocations: 2.352 MB / 1.008 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009669/1.343, allocations: 5.956 MB / 1.014 GB, free: 4.047 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003755/1.347, allocations: 2.152 MB / 1.016 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007812/1.355, allocations: 3.32 MB / 1.02 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003464/1.358, allocations: 1.718 MB / 1.021 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004378/1.359, allocations: 220 kB / 1.022 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007643/1.366, allocations: 3.688 MB / 1.025 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/1.367, allocations: 0.8729 MB / 1.026 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001967/1.369, allocations: 1.327 MB / 1.027 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008483/1.378, allocations: 4.753 MB / 1.032 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/1.378, allocations: 0 / 1.032 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/1.378, allocations: 3.938 kB / 1.032 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.796e-05/1.378, allocations: 3.938 kB / 1.032 GB, free: 3.434 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.005157/1.383, allocations: 2.965 MB / 1.035 GB, free: 440 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1.383, allocations: 8.031 kB / 1.035 GB, free: 432 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005356/1.389, allocations: 0.8352 MB / 1.036 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003798/1.392, allocations: 1.926 MB / 1.038 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.633e-05/1.393, allocations: 106.7 kB / 1.038 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/1.393, allocations: 152 kB / 1.038 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003603/1.396, allocations: 1.646 MB / 1.039 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/1.396, allocations: 4 kB / 1.039 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/1.397, allocations: 56 kB / 1.039 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.296e-05/1.397, allocations: 50.56 kB / 1.039 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003354/1.4, allocations: 1.357 MB / 1.041 GB, free: 10.19 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.01144/1.411, allocations: 7.851 MB / 1.048 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/1.413, allocations: 0.996 MB / 1.049 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/1.415, allocations: 499.4 kB / 1.05 GB, free: 284 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/1.415, allocations: 110.7 kB / 1.05 GB, free: 160 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/1.415, allocations: 43.22 kB / 1.05 GB, free: 108 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=72): time 2.856e-06/1.415, allocations: 0 / 1.05 GB, free: 108 kB / 0.7325 GB Notification: Performance of matching and sorting (n=72): time 0.003649/1.419, allocations: 1.335 MB / 1.051 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/1.419, allocations: 64.05 kB / 1.051 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/1.421, allocations: 1.794 MB / 1.053 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/1.421, allocations: 45.7 kB / 1.053 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008373/1.422, allocations: 0.9879 MB / 1.054 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/1.422, allocations: 257.1 kB / 1.054 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003094/1.423, allocations: 217.6 kB / 1.055 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.423, allocations: 341.9 kB / 1.055 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/1.424, allocations: 452.5 kB / 1.055 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/1.425, allocations: 0.8304 MB / 1.056 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002409/1.428, allocations: 1.196 MB / 1.057 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.428, allocations: 4 kB / 1.057 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00307/1.431, allocations: 1.397 MB / 1.059 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.431, allocations: 8 kB / 1.059 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/1.431, allocations: 12 kB / 1.059 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/1.431, allocations: 12.41 kB / 1.059 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/1.432, allocations: 277.1 kB / 1.059 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004638/1.433, allocations: 0.6132 MB / 1.06 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/1.434, allocations: 142 kB / 1.06 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.65e-05/1.434, allocations: 56.08 kB / 1.06 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001599/1.436, allocations: 0.8181 MB / 1.061 GB, free: 4.879 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001232/1.437, allocations: 0.7758 MB / 1.061 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001995/1.439, allocations: 1.114 MB / 1.062 GB, free: 2.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.071e-06/1.439, allocations: 0 / 1.062 GB, free: 2.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002643/1.442, allocations: 1.303 MB / 1.064 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.442, allocations: 19.94 kB / 1.064 GB, free: 1.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.442, allocations: 8 kB / 1.064 GB, free: 1.344 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/1.442, allocations: 16 kB / 1.064 GB, free: 1.328 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/1.443, allocations: 239.6 kB / 1.064 GB, free: 1.094 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/1.443, allocations: 23.92 kB / 1.064 GB, free: 1.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/1.444, allocations: 114.1 kB / 1.064 GB, free: 0.9609 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-05/1.444, allocations: 47.98 kB / 1.064 GB, free: 0.9141 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.0003218/1.445, allocations: 248 kB / 1.064 GB, free: 0.6641 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/1.445, allocations: 193.5 kB / 1.065 GB, free: 484 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/1.448, allocations: 1.054 MB / 1.066 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/1.448, allocations: 8 kB / 1.066 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.448, allocations: 0 / 1.066 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002029/1.45, allocations: 0.8943 MB / 1.067 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005399/1.455, allocations: 2.844 MB / 1.069 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.455, allocations: 0 / 1.069 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.456, allocations: 211.8 kB / 1.069 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/1.456, allocations: 4 kB / 1.069 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/1.456, allocations: 19.98 kB / 1.07 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000414/1.457, allocations: 0.5938 MB / 1.07 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.457, allocations: 4.031 kB / 1.07 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/1.46, allocations: 1.614 MB / 1.072 GB, free: 9.035 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007272/1.461, allocations: 354.5 kB / 1.072 GB, free: 8.668 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/1.461, allocations: 20 kB / 1.072 GB, free: 8.648 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000957/1.462, allocations: 66.42 kB / 1.072 GB, free: 8.586 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.462, allocations: 44.5 kB / 1.072 GB, free: 8.543 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.916e-05/1.462, allocations: 27.98 kB / 1.072 GB, free: 8.516 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001918/1.464, allocations: 1.22 MB / 1.073 GB, free: 7.277 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.393e-06/1.464, allocations: 3.938 kB / 1.073 GB, free: 7.273 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002717/1.467, allocations: 0.9624 MB / 1.074 GB, free: 6.309 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.0009868/1.468, allocations: 348.1 kB / 1.075 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003868/1.472, allocations: 1.601 MB / 1.076 GB, free: 4.395 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.472, allocations: 0 / 1.076 GB, free: 4.395 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/1.473, allocations: 459.4 kB / 1.077 GB, free: 3.949 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004243/1.478, allocations: 1.049 MB / 1.078 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006473/1.484, allocations: 3.463 MB / 1.081 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/1.485, allocations: 1.562 MB / 1.083 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001979/1.487, allocations: 488.4 kB / 1.083 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/1.488, allocations: 147.4 kB / 1.083 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of SimCode: time 8.02e-07/1.488, allocations: 4 kB / 1.083 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.06485/1.553, allocations: 38.18 MB / 1.12 GB, free: 7.477 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)