Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 195 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9239/0.9239, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 62.64 kB / 0.5054 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1874, allocations: 80.92 MB / 0.5844 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003303/0.1908, allocations: 1.243 MB / 0.5856 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009764/0.1918, allocations: 0.5854 MB / 0.5862 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.1918, allocations: 0 / 0.5862 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.1919, allocations: 0 / 0.5862 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.258e-05/0.1919, allocations: 7.969 kB / 0.5862 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.1924, allocations: 139.4 kB / 0.5863 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.195e-05/0.1925, allocations: 19.86 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.1925, allocations: 4 kB / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.442e-05/0.1926, allocations: 0 / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.1926, allocations: 4 kB / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.1926, allocations: 0 / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005276/0.1932, allocations: 343.3 kB / 0.5867 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.1932, allocations: 4 kB / 0.5867 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.1932, allocations: 11.92 kB / 0.5867 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.1935, allocations: 136 kB / 0.5868 GB, free: 2.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.1935, allocations: 4 kB / 0.5868 GB, free: 2.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1935, allocations: 3.938 kB / 0.5868 GB, free: 2.051 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1935, allocations: 0 / 0.5868 GB, free: 2.051 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004269/0.1939, allocations: 351.5 kB / 0.5871 GB, free: 1.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.194, allocations: 12.03 kB / 0.5872 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.194, allocations: 4.844 kB / 0.5872 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.1942, allocations: 160.4 kB / 0.5873 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1942, allocations: 384 / 0.5873 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.1942, allocations: 384 / 0.5873 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.1943, allocations: 45.81 kB / 0.5874 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1943, allocations: 0 / 0.5874 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1943, allocations: 0 / 0.5874 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1944, allocations: 7.938 kB / 0.5874 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.888e-05/0.1944, allocations: 3.938 kB / 0.5874 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.1946, allocations: 153.7 kB / 0.5875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.464e-05/0.1947, allocations: 18.61 kB / 0.5875 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.1947, allocations: 16.92 kB / 0.5875 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1947, allocations: 0 / 0.5875 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.1947, allocations: 38.5 kB / 0.5876 GB, free: 1.094 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1948, allocations: 0 / 0.5876 GB, free: 1.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001751/0.1949, allocations: 45.62 kB / 0.5876 GB, free: 1.043 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.195, allocations: 51.41 kB / 0.5877 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.75e-05/0.1951, allocations: 97.98 kB / 0.5878 GB, free: 0.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1951, allocations: 29.83 kB / 0.5878 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.1951, allocations: 80.14 kB / 0.5879 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.1952, allocations: 3.906 kB / 0.5879 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.1952, allocations: 21.7 kB / 0.5879 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1953, allocations: 310.8 kB / 0.5882 GB, free: 424 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.1954, allocations: 0 / 0.5882 GB, free: 424 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-06/0.1954, allocations: 4 kB / 0.5882 GB, free: 420 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.301e-05/0.1954, allocations: 16.92 kB / 0.5882 GB, free: 400 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.1954, allocations: 3.938 kB / 0.5882 GB, free: 396 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.06e-05/0.1955, allocations: 45.56 kB / 0.5883 GB, free: 344 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1955, allocations: 10.97 kB / 0.5883 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1955, allocations: 0 / 0.5883 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1955, allocations: 0 / 0.5883 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1957, allocations: 8 kB / 0.5883 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004053/0.1961, allocations: 0.586 MB / 0.5889 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.1962, allocations: 0 / 0.5889 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1962, allocations: 4 kB / 0.5889 GB, free: 15.71 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 9.46e-05/0.1963, allocations: 117.8 kB / 0.589 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.1963, allocations: 3.906 kB / 0.589 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.1964, allocations: 44.81 kB / 0.589 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1964, allocations: 3.984 kB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1964, allocations: 4.125 kB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1964, allocations: 0 / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.1965, allocations: 149.6 kB / 0.5892 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1965, allocations: 3.984 kB / 0.5892 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.352e-05/0.1966, allocations: 8 kB / 0.5892 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1966, allocations: 0 / 0.5892 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1967, allocations: 4 kB / 0.5892 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003345/0.197, allocations: 0.5938 MB / 0.5898 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.197, allocations: 4.094 kB / 0.5898 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.457e-05/0.1971, allocations: 61.12 kB / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.1971, allocations: 81.05 kB / 0.5899 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.1972, allocations: 0 / 0.5899 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.862e-05/0.1972, allocations: 7.938 kB / 0.5899 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.1972, allocations: 3.984 kB / 0.5899 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.1972, allocations: 0 / 0.5899 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.923e-05/0.1972, allocations: 79.31 kB / 0.59 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.493e-06/0.1973, allocations: 4 kB / 0.59 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000191/0.1975, allocations: 11.94 kB / 0.59 GB, free: 14.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * 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.0001876/0.1976, allocations: 115.2 kB / 0.5901 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.1978, allocations: 15.98 kB / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1978, allocations: 0 / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.683e-05/0.1979, allocations: 24.08 kB / 0.5901 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.1981, allocations: 0 / 0.5901 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.1984, allocations: 113.9 kB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.1988, allocations: 0.6768 MB / 0.5909 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.486e-05/0.1988, allocations: 0 / 0.5909 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.349e-05/0.1988, allocations: 7.5 kB / 0.5909 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1988, allocations: 4 kB / 0.5909 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.00255/0.2014, allocations: 449.1 kB / 0.5914 GB, free: 12.98 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)