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.001179/0.001179, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001041/0.001041, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.265/1.265, 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-master/package.mo): time 0.7932/0.7932, allocations: 135.1 MB / 426.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 55.91 kB / 0.5067 GB, free: 7.715 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3392, allocations: 80.92 MB / 0.5858 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.5892/0.9285, allocations: 323.5 MB / 0.9017 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02656/0.9551, allocations: 20.2 MB / 0.9214 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003151/0.9583, allocations: 95.5 kB / 0.9215 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003788/0.9621, allocations: 1.511 MB / 0.9229 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.9731, allocations: 4.22 MB / 0.9271 GB, free: 316 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006441/0.9796, allocations: 2.345 MB / 0.9294 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008437/0.988, allocations: 5.94 MB / 0.9352 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002978/0.991, allocations: 2.154 MB / 0.9373 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006222/0.9973, allocations: 3.211 MB / 0.9404 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/1, allocations: 1.731 MB / 0.9421 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003402/1.001, allocations: 220 kB / 0.9423 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006435/1.007, allocations: 3.68 MB / 0.9459 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008438/1.008, allocations: 0.8724 MB / 0.9467 GB, free: 12.08 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00147/1.009, allocations: 1.33 MB / 0.948 GB, free: 10.75 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006359/1.016, allocations: 4.74 MB / 0.9527 GB, free: 5.992 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.016, allocations: 0 / 0.9527 GB, free: 5.992 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.523e-06/1.016, allocations: 4 kB / 0.9527 GB, free: 5.988 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.196e-05/1.016, allocations: 4 kB / 0.9527 GB, free: 5.984 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.004346/1.02, allocations: 2.959 MB / 0.9556 GB, free: 2.961 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/1.02, allocations: 17.05 kB / 0.9556 GB, free: 2.945 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/1.025, allocations: 0.8358 MB / 0.9564 GB, free: 2.105 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/1.028, allocations: 1.92 MB / 0.9583 GB, free: 112 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.772e-05/1.028, allocations: 110.9 kB / 0.9584 GB, free: 16 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/1.029, allocations: 151.9 kB / 0.9585 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/1.031, allocations: 1.642 MB / 0.9601 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/1.031, allocations: 11.94 kB / 0.9601 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/1.032, allocations: 56 kB / 0.9602 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-05/1.032, allocations: 50.56 kB / 0.9602 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/1.034, allocations: 1.349 MB / 0.9616 GB, free: 12.66 MB / 0.6856 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.009475/1.044, allocations: 7.845 MB / 0.9692 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/1.046, allocations: 1.004 MB / 0.9702 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/1.047, allocations: 491.5 kB / 0.9707 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/1.047, allocations: 109.7 kB / 0.9708 GB, free: 2.57 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/1.047, allocations: 47.22 kB / 0.9708 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.925e-06/1.047, allocations: 3.938 kB / 0.9708 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72): time 0.003375/1.05, allocations: 1.331 MB / 0.9721 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/1.05, allocations: 60.06 kB / 0.9722 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/1.053, allocations: 1.797 MB / 0.9739 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.533e-05/1.053, allocations: 45.7 kB / 0.974 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007095/1.053, allocations: 0.9917 MB / 0.9749 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/1.054, allocations: 244.3 kB / 0.9752 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/1.054, allocations: 214.5 kB / 0.9754 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.054, allocations: 345.9 kB / 0.9757 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009641/1.055, allocations: 456.5 kB / 0.9761 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/1.056, allocations: 0.8304 MB / 0.977 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/1.059, allocations: 1.203 MB / 0.9781 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/1.059, allocations: 4 kB / 0.9781 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003003/1.062, allocations: 1.401 MB / 0.9795 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/1.062, allocations: 10.66 kB / 0.9795 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/1.062, allocations: 8 kB / 0.9795 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/1.062, allocations: 16 kB / 0.9795 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/1.063, allocations: 279.8 kB / 0.9798 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003773/1.063, allocations: 0.5977 MB / 0.9804 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/1.065, allocations: 148.2 kB / 0.9805 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.666e-05/1.065, allocations: 51.98 kB / 0.9806 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001543/1.066, allocations: 0.8142 MB / 0.9814 GB, free: 7.27 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00106/1.067, allocations: 0.7874 MB / 0.9821 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001792/1.069, allocations: 1.102 MB / 0.9832 GB, free: 5.074 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.761e-06/1.069, allocations: 4 kB / 0.9832 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002425/1.072, allocations: 1.299 MB / 0.9845 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/1.072, allocations: 8 kB / 0.9845 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.072, allocations: 12 kB / 0.9845 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/1.072, allocations: 12 kB / 0.9845 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008887/1.073, allocations: 248 kB / 0.9848 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/1.073, allocations: 23.88 kB / 0.9848 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/1.074, allocations: 112.5 kB / 0.9849 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.874e-05/1.074, allocations: 51.98 kB / 0.9849 GB, free: 3.305 MB / 0.7012 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.0002744/1.074, allocations: 241.6 kB / 0.9852 GB, free: 3.062 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/1.074, allocations: 193.6 kB / 0.9854 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/1.077, allocations: 1.055 MB / 0.9864 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/1.077, allocations: 11.88 kB / 0.9864 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.077, allocations: 4 kB / 0.9864 GB, free: 1.793 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00174/1.079, allocations: 0.8826 MB / 0.9873 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004497/1.083, allocations: 2.853 MB / 0.9901 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/1.083, allocations: 0 / 0.9901 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009827/1.084, allocations: 199.9 kB / 0.9902 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/1.084, allocations: 8 kB / 0.9902 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/1.084, allocations: 19.98 kB / 0.9903 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002703/1.084, allocations: 0.5976 MB / 0.9909 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.084, allocations: 0 / 0.9909 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/1.087, allocations: 1.618 MB / 0.9924 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000579/1.088, allocations: 362.4 kB / 0.9928 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/1.088, allocations: 19.94 kB / 0.9928 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000887/1.089, allocations: 51.89 kB / 0.9928 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/1.089, allocations: 52.5 kB / 0.9929 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/1.089, allocations: 27.97 kB / 0.9929 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001462/1.091, allocations: 1.22 MB / 0.9941 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.091, allocations: 0 / 0.9941 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001953/1.093, allocations: 0.9545 MB / 0.995 GB, free: 8.691 MB / 0.7169 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.0007038/1.093, allocations: 374.1 kB / 0.9954 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0033/1.097, allocations: 1.589 MB / 0.997 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.097, allocations: 0 / 0.997 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009787/1.098, allocations: 467.9 kB / 0.9974 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/1.101, allocations: 1.053 MB / 0.9984 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004994/1.106, allocations: 3.461 MB / 1.002 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/1.107, allocations: 1.562 MB / 1.003 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001718/1.109, allocations: 488.4 kB / 1.004 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/1.109, allocations: 147.4 kB / 1.004 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/1.109, allocations: 0 / 1.004 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.3321/1.441, allocations: 37.95 MB / 1.041 GB, free: 326 MB / 0.7481 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)