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.001387/0.001387, allocations: 110.5 kB / 16.41 MB, free: 6.453 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.001341/0.001342, allocations: 188.1 kB / 17.34 MB, free: 5.738 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7709/0.7709, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 70.27 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1587, allocations: 80.2 MB / 0.6603 GB, free: 10.25 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.7077/0.8664, allocations: 323.5 MB / 0.9762 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02973/0.8962, allocations: 20.2 MB / 0.996 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004125/0.9003, allocations: 95.5 kB / 0.9961 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005113/0.9055, allocations: 1.503 MB / 0.9975 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01182/0.9173, allocations: 4.231 MB / 1.002 GB, free: 7.852 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006242/0.9236, allocations: 2.339 MB / 1.004 GB, free: 5.527 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009012/0.9326, allocations: 5.934 MB / 1.01 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004108/0.9368, allocations: 2.16 MB / 1.012 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007906/0.9447, allocations: 3.266 MB / 1.015 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003824/0.9486, allocations: 1.715 MB / 1.017 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0008878/0.9495, allocations: 224 kB / 1.017 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007773/0.9573, allocations: 3.687 MB / 1.021 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001494/0.9588, allocations: 0.8725 MB / 1.021 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002834/0.9616, allocations: 1.326 MB / 1.023 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.009773/0.9714, allocations: 4.748 MB / 1.027 GB, free: 13.5 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9715, allocations: 0 / 1.027 GB, free: 13.5 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9715, allocations: 0 / 1.027 GB, free: 13.5 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001316/0.9716, allocations: 0 / 1.027 GB, free: 13.5 MB / 0.795 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.006967/0.9786, allocations: 2.97 MB / 1.03 GB, free: 10.46 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.9786, allocations: 8.031 kB / 1.03 GB, free: 10.45 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005781/0.9844, allocations: 0.8398 MB / 1.031 GB, free: 9.609 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004607/0.9891, allocations: 1.912 MB / 1.033 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.9892, allocations: 110.7 kB / 1.033 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004385/0.9897, allocations: 147.9 kB / 1.033 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003908/0.9936, allocations: 1.662 MB / 1.035 GB, free: 5.637 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.9937, allocations: 0 / 1.035 GB, free: 5.637 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.9938, allocations: 56 kB / 1.035 GB, free: 5.582 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.888e-05/0.9939, allocations: 54.56 kB / 1.035 GB, free: 5.527 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00344/0.9974, allocations: 1.353 MB / 1.036 GB, free: 4.168 MB / 0.795 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.01167/1.009, allocations: 7.853 MB / 1.044 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/1.011, allocations: 0.997 MB / 1.045 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/1.012, allocations: 491.5 kB / 1.045 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/1.012, allocations: 113.7 kB / 1.045 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/1.012, allocations: 43.16 kB / 1.045 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=72): time 2.514e-06/1.012, allocations: 0 / 1.045 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=72): time 0.003721/1.016, allocations: 1.331 MB / 1.047 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/1.016, allocations: 60.06 kB / 1.047 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/1.019, allocations: 1.797 MB / 1.049 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/1.019, allocations: 41.7 kB / 1.049 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007862/1.02, allocations: 0.9918 MB / 1.05 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/1.02, allocations: 256.3 kB / 1.05 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003692/1.021, allocations: 214.4 kB / 1.05 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.021, allocations: 345.9 kB / 1.05 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/1.022, allocations: 452.6 kB / 1.051 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/1.023, allocations: 0.8304 MB / 1.052 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/1.026, allocations: 1.199 MB / 1.053 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/1.026, allocations: 4 kB / 1.053 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003194/1.029, allocations: 1.405 MB / 1.054 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.029, allocations: 8 kB / 1.054 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/1.029, allocations: 8 kB / 1.054 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/1.029, allocations: 16 kB / 1.054 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/1.03, allocations: 273.2 kB / 1.054 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.386/1.416, allocations: 0.6037 MB / 1.055 GB, free: 316.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.418, allocations: 138.8 kB / 1.055 GB, free: 316.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/1.418, allocations: 50.31 kB / 1.055 GB, free: 316.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001938/1.42, allocations: 0.8156 MB / 1.056 GB, free: 316.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001263/1.422, allocations: 0.7802 MB / 1.057 GB, free: 316.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001926/1.424, allocations: 1.107 MB / 1.058 GB, free: 316 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.715e-06/1.424, allocations: 3.25 kB / 1.058 GB, free: 316 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002766/1.426, allocations: 1.298 MB / 1.059 GB, free: 315.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.426, allocations: 10.75 kB / 1.059 GB, free: 315.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/1.426, allocations: 10.53 kB / 1.059 GB, free: 315.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.426, allocations: 14.73 kB / 1.059 GB, free: 315.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/1.427, allocations: 242.2 kB / 1.059 GB, free: 315.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-05/1.427, allocations: 29.55 kB / 1.059 GB, free: 315.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.429, allocations: 110.3 kB / 1.06 GB, free: 315.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-05/1.429, allocations: 52 kB / 1.06 GB, free: 315.8 MB / 0.8106 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.0003667/1.429, allocations: 248.1 kB / 1.06 GB, free: 315.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/1.43, allocations: 195 kB / 1.06 GB, free: 315.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/1.433, allocations: 1.047 MB / 1.061 GB, free: 315.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/1.433, allocations: 9.812 kB / 1.061 GB, free: 315.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.433, allocations: 2.531 kB / 1.061 GB, free: 315.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002129/1.435, allocations: 0.8922 MB / 1.062 GB, free: 314.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006248/1.441, allocations: 2.842 MB / 1.065 GB, free: 313.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.441, allocations: 1.656 kB / 1.065 GB, free: 313.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.442, allocations: 208.6 kB / 1.065 GB, free: 313.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.448e-05/1.442, allocations: 6.281 kB / 1.065 GB, free: 313.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/1.442, allocations: 19.81 kB / 1.065 GB, free: 313.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002222/1.443, allocations: 0.5938 MB / 1.065 GB, free: 312.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.443, allocations: 1.812 kB / 1.065 GB, free: 312.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00361/1.446, allocations: 1.614 MB / 1.067 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007451/1.447, allocations: 358 kB / 1.067 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/1.447, allocations: 17.89 kB / 1.067 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/1.448, allocations: 64.12 kB / 1.067 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.448, allocations: 53.98 kB / 1.068 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-05/1.448, allocations: 30.66 kB / 1.068 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002025/1.45, allocations: 1.221 MB / 1.069 GB, free: 311.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 6.21e-07/1.451, allocations: 0 / 1.069 GB, free: 311.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002888/1.453, allocations: 0.9587 MB / 1.07 GB, free: 311.2 MB / 0.8106 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.0009592/1.454, allocations: 352.5 kB / 1.07 GB, free: 311.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004245/1.459, allocations: 1.599 MB / 1.072 GB, free: 310.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/1.459, allocations: 1.031 kB / 1.072 GB, free: 310.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/1.46, allocations: 464.2 kB / 1.072 GB, free: 310.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004798/1.465, allocations: 1.05 MB / 1.073 GB, free: 310.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006764/1.471, allocations: 3.589 MB / 1.077 GB, free: 308.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/1.473, allocations: 1.563 MB / 1.078 GB, free: 307.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007148/1.474, allocations: 157.6 kB / 1.078 GB, free: 307.7 MB / 0.8106 GB Notification: Performance of SimCode: time 8.91e-07/1.474, allocations: 0 / 1.078 GB, free: 307.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.05662/1.53, allocations: 43.61 MB / 1.121 GB, free: 273.4 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)