Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, 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.001256/0.001256, allocations: 194.6 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9157/0.9157, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 64.59 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1562, allocations: 81.03 MB / 0.5845 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002483/0.1588, allocations: 1.325 MB / 0.5858 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1598, allocations: 0.6244 MB / 0.5864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.965e-05/0.1599, allocations: 0 / 0.5864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.1599, allocations: 0 / 0.5864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.505e-05/0.1599, allocations: 7.938 kB / 0.5864 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.1605, allocations: 131.6 kB / 0.5865 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.718e-05/0.1605, allocations: 15.94 kB / 0.5866 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.1606, allocations: 4 kB / 0.5866 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.46e-05/0.1606, allocations: 11.98 kB / 0.5866 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.892e-05/0.1606, allocations: 7.938 kB / 0.5866 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.1606, allocations: 0 / 0.5866 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004684/0.1611, allocations: 343.3 kB / 0.5869 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.987e-06/0.1611, allocations: 0 / 0.5869 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.1612, allocations: 15.92 kB / 0.5869 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.1614, allocations: 147.9 kB / 0.5871 GB, free: 1.652 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1614, allocations: 4 kB / 0.5871 GB, free: 1.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1614, allocations: 0 / 0.5871 GB, free: 1.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1614, allocations: 0 / 0.5871 GB, free: 1.648 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004453/0.1619, allocations: 363.3 kB / 0.5874 GB, free: 1.246 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1619, allocations: 12.03 kB / 0.5874 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.162, allocations: 4.938 kB / 0.5874 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.1621, allocations: 160.4 kB / 0.5876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1621, allocations: 4.375 kB / 0.5876 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1622, allocations: 384 / 0.5876 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1623, allocations: 53.75 kB / 0.5876 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.1623, allocations: 0 / 0.5876 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1623, allocations: 0 / 0.5876 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1623, allocations: 0 / 0.5876 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.826e-05/0.1624, allocations: 15.98 kB / 0.5877 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.1625, allocations: 157.6 kB / 0.5878 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1627, allocations: 42.56 kB / 0.5878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.1628, allocations: 28.73 kB / 0.5879 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.1628, allocations: 0 / 0.5879 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.1629, allocations: 38.5 kB / 0.5879 GB, free: 0.625 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1629, allocations: 3.938 kB / 0.5879 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006072/0.1635, allocations: 310.3 kB / 0.5882 GB, free: 272 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.1635, allocations: 51.41 kB / 0.5883 GB, free: 208 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.1636, allocations: 97.86 kB / 0.5884 GB, free: 100 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1636, allocations: 25.7 kB / 0.5884 GB, free: 68 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.1637, allocations: 88.14 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.1637, allocations: 15.7 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.1638, allocations: 21.7 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1639, allocations: 322.8 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.164, allocations: 4 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.122e-05/0.164, allocations: 12 kB / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.573e-05/0.164, allocations: 48.92 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1641, allocations: 0 / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001068/0.1642, allocations: 61.64 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1642, allocations: 7.984 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.1642, allocations: 0 / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1642, allocations: 0 / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.872e-05/0.1643, allocations: 12 kB / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1643, allocations: 0 / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.1643, allocations: 4 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.1643, allocations: 0 / 0.5889 GB, free: 15.45 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 (7): * Single equations (assignments): 7 * 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 7.783e-05/0.1644, allocations: 117.8 kB / 0.5891 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.1644, allocations: 3.938 kB / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.1646, allocations: 77.77 kB / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1646, allocations: 4 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1646, allocations: 0 / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1646, allocations: 0 / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.1649, allocations: 315.3 kB / 0.5894 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1649, allocations: 0 / 0.5894 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.165, allocations: 20.02 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.165, allocations: 0 / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.165, allocations: 4 kB / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.165, allocations: 0 / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.165, allocations: 0 / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.1652, allocations: 184.2 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.1653, allocations: 81.14 kB / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1653, allocations: 12 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.1654, allocations: 7.938 kB / 0.5897 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.1654, allocations: 3.984 kB / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.1654, allocations: 4 kB / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.806e-05/0.1655, allocations: 75.28 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1655, allocations: 0 / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002409/0.1657, allocations: 31.88 kB / 0.5898 GB, free: 14.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001754/0.1659, allocations: 119.2 kB / 0.59 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.166, allocations: 35.94 kB / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.166, allocations: 4 kB / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.107e-05/0.1661, allocations: 19.92 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.1663, allocations: 8 kB / 0.59 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.1667, allocations: 209 kB / 0.5902 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.167, allocations: 0.6829 MB / 0.5909 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.167, allocations: 8 kB / 0.5909 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.857e-05/0.167, allocations: 15.44 kB / 0.5909 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1671, allocations: 0 / 0.5909 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.002925/0.17, allocations: 0.6479 MB / 0.5915 GB, free: 12.65 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)