Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001187/0.001187, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9479/0.9479, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001338, allocations: 63.81 kB / 0.5049 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.191, allocations: 80.93 MB / 0.5839 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003188/0.1943, allocations: 1.527 MB / 0.5854 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1955, allocations: 0.6268 MB / 0.586 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.1956, allocations: 0 / 0.586 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.284e-05/0.1956, allocations: 7.922 kB / 0.586 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.078e-05/0.1957, allocations: 7.984 kB / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.1964, allocations: 142.7 kB / 0.5861 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.085e-05/0.1965, allocations: 51.78 kB / 0.5862 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.1966, allocations: 7.938 kB / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.115e-05/0.1967, allocations: 27.92 kB / 0.5862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.619e-05/0.1967, allocations: 19.91 kB / 0.5862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1968, allocations: 4 kB / 0.5862 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005275/0.1973, allocations: 347.3 kB / 0.5866 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.1973, allocations: 19.91 kB / 0.5866 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.1974, allocations: 27.86 kB / 0.5866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.1977, allocations: 175.8 kB / 0.5868 GB, free: 1.887 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1977, allocations: 0 / 0.5868 GB, free: 1.887 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1977, allocations: 0 / 0.5868 GB, free: 1.887 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1977, allocations: 4 kB / 0.5868 GB, free: 1.883 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006645/0.1984, allocations: 395.3 kB / 0.5872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1984, allocations: 11.97 kB / 0.5872 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.1985, allocations: 8.844 kB / 0.5872 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.1987, allocations: 164.4 kB / 0.5873 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.1987, allocations: 8.375 kB / 0.5874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.1988, allocations: 4.375 kB / 0.5874 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.199, allocations: 85.7 kB / 0.5874 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1991, allocations: 4 kB / 0.5874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1991, allocations: 4 kB / 0.5875 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1991, allocations: 0 / 0.5875 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002626/0.1994, allocations: 47.95 kB / 0.5875 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.2, allocations: 328.6 kB / 0.5878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.2003, allocations: 86.52 kB / 0.5879 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.2004, allocations: 32.83 kB / 0.5879 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.2005, allocations: 0 / 0.5879 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.2005, allocations: 38.56 kB / 0.588 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.2005, allocations: 0 / 0.588 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001861/0.2024, allocations: 0.6423 MB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.2024, allocations: 63.28 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2026, allocations: 101.9 kB / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.2026, allocations: 29.64 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.2027, allocations: 92.14 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.2027, allocations: 35.45 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.2028, allocations: 29.7 kB / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.203, allocations: 314.8 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.2031, allocations: 31.97 kB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.2033, allocations: 31.98 kB / 0.5893 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.2036, allocations: 80.58 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2036, allocations: 4 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003286/0.2039, allocations: 117.5 kB / 0.5895 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.204, allocations: 4 kB / 0.5895 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.204, allocations: 3.984 kB / 0.5895 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.204, allocations: 4 kB / 0.5895 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.2042, allocations: 27.92 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2042, allocations: 0 / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.052e-05/0.2043, allocations: 12 kB / 0.5895 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.2043, allocations: 7.938 kB / 0.5895 GB, free: 14.77 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.2044, allocations: 113.8 kB / 0.5896 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.2044, allocations: 7.906 kB / 0.5897 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/0.2048, allocations: 125.5 kB / 0.5898 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2049, allocations: 3.938 kB / 0.5898 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2049, allocations: 0 / 0.5898 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2049, allocations: 4 kB / 0.5898 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000615/0.2055, allocations: 390.4 kB / 0.5902 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2055, allocations: 0 / 0.5902 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.2057, allocations: 27.92 kB / 0.5902 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2057, allocations: 0 / 0.5902 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.2057, allocations: 3.984 kB / 0.5902 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2057, allocations: 4 kB / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2058, allocations: 0 / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.2063, allocations: 257.6 kB / 0.5904 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.2064, allocations: 81.05 kB / 0.5905 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.2064, allocations: 4.031 kB / 0.5905 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.2065, allocations: 8 kB / 0.5905 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.2066, allocations: 7.984 kB / 0.5905 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.2066, allocations: 4.062 kB / 0.5905 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.478e-05/0.2066, allocations: 91.44 kB / 0.5906 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2066, allocations: 3.938 kB / 0.5906 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000319/0.207, allocations: 43.94 kB / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00031/0.2073, allocations: 127.2 kB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004067/0.2077, allocations: 87.89 kB / 0.5909 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2077, allocations: 0 / 0.5909 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.2079, allocations: 55.84 kB / 0.5909 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.2083, allocations: 8 kB / 0.5909 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009268/0.2092, allocations: 349.6 kB / 0.5913 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.2096, allocations: 0.693 MB / 0.5919 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.252e-05/0.2097, allocations: 16.64 kB / 0.592 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.2097, allocations: 15.44 kB / 0.592 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.2097, allocations: 0 / 0.592 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.004788/0.2145, allocations: 1.127 MB / 0.5931 GB, free: 11.02 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)