Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.0009683/0.0009683, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006954/0.006954, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7542/0.7542, allocations: 132.4 MB / 423.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003191, allocations: 8 kB / 0.504 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4287, allocations: 81.58 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001327/0.4301, allocations: 0.9981 MB / 0.5847 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.4312, allocations: 0.6199 MB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.4312, allocations: 0.75 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.4313, allocations: 0.7031 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.65e-05/0.4313, allocations: 9.578 kB / 0.5853 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.4318, allocations: 122.6 kB / 0.5854 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.043e-05/0.4319, allocations: 18.7 kB / 0.5854 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.624e-05/0.432, allocations: 6.609 kB / 0.5854 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.432, allocations: 5.453 kB / 0.5854 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.332e-05/0.4321, allocations: 12.78 kB / 0.5854 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.4321, allocations: 1.781 kB / 0.5854 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006136/0.4327, allocations: 344.4 kB / 0.5858 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.4327, allocations: 2.25 kB / 0.5858 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.4328, allocations: 38.75 kB / 0.5858 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.4331, allocations: 147.8 kB / 0.5859 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4331, allocations: 0 / 0.5859 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4331, allocations: 1.188 kB / 0.5859 GB, free: 2.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.4331, allocations: 4 kB / 0.5859 GB, free: 2.598 MB / 430.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.0003587/0.4335, allocations: 354.3 kB / 0.5863 GB, free: 2.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4335, allocations: 9.75 kB / 0.5863 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.4336, allocations: 2.969 kB / 0.5863 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.358e-05/0.4337, allocations: 166.8 kB / 0.5865 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.4337, allocations: 1.75 kB / 0.5865 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.4337, allocations: 5.75 kB / 0.5865 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.4338, allocations: 52.03 kB / 0.5865 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4338, allocations: 0 / 0.5865 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4339, allocations: 5.547 kB / 0.5865 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4339, allocations: 0 / 0.5865 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.128e-05/0.4339, allocations: 8.281 kB / 0.5865 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.4341, allocations: 158.6 kB / 0.5867 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.4343, allocations: 40.16 kB / 0.5867 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.4343, allocations: 18.28 kB / 0.5867 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.4343, allocations: 1.234 kB / 0.5867 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.4343, allocations: 47.78 kB / 0.5868 GB, free: 1.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4344, allocations: 0 / 0.5868 GB, free: 1.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006051/0.435, allocations: 316.8 kB / 0.5871 GB, free: 1.387 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.435, allocations: 52.28 kB / 0.5871 GB, free: 1.324 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.924e-05/0.4351, allocations: 95.83 kB / 0.5872 GB, free: 1.227 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.4351, allocations: 34.33 kB / 0.5873 GB, free: 1.188 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.073e-05/0.4351, allocations: 90.31 kB / 0.5873 GB, free: 1.098 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.4351, allocations: 15.2 kB / 0.5874 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/0.4352, allocations: 16.88 kB / 0.5874 GB, free: 1.066 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.311e-05/0.4352, allocations: 313.4 kB / 0.5877 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.4353, allocations: 12.56 kB / 0.5877 GB, free: 0.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.388e-05/0.4353, allocations: 11.81 kB / 0.5877 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.818e-05/0.4353, allocations: 33.02 kB / 0.5877 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.4354, allocations: 0 / 0.5877 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.097e-05/0.4355, allocations: 72.17 kB / 0.5878 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4355, allocations: 8.938 kB / 0.5878 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4355, allocations: 0.9062 kB / 0.5878 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4355, allocations: 0.8438 kB / 0.5878 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.4356, allocations: 11.62 kB / 0.5878 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4356, allocations: 1.219 kB / 0.5878 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.4356, allocations: 0 / 0.5878 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.4356, allocations: 1.656 kB / 0.5878 GB, free: 0.6719 MB / 430.1 MB 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 5.58e-05/0.4357, allocations: 114.1 kB / 0.5879 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.4357, allocations: 11.12 kB / 0.5879 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.4358, allocations: 72.8 kB / 0.588 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4358, allocations: 1.25 kB / 0.588 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4358, allocations: 0 / 0.588 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4359, allocations: 0.7031 kB / 0.588 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.4361, allocations: 321.4 kB / 0.5883 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4362, allocations: 0.625 kB / 0.5883 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.324e-05/0.4362, allocations: 11.83 kB / 0.5883 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4362, allocations: 5.062 kB / 0.5883 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.4362, allocations: 4.781 kB / 0.5883 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.4363, allocations: 2.016 kB / 0.5883 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4363, allocations: 1.062 kB / 0.5883 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.4364, allocations: 188 kB / 0.5885 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.4365, allocations: 82.16 kB / 0.5886 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.4365, allocations: 5.312 kB / 0.5886 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.4366, allocations: 5.609 kB / 0.5886 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.4366, allocations: 7.828 kB / 0.5886 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.4367, allocations: 3.5 kB / 0.5886 GB, free: 15.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.598e-05/0.4367, allocations: 81.7 kB / 0.5887 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4367, allocations: 1.312 kB / 0.5887 GB, free: 15.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.437, allocations: 27.14 kB / 0.5887 GB, free: 15.79 MB / 446.1 MB 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.0002662/0.4372, allocations: 122.3 kB / 0.5888 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.4373, allocations: 35.58 kB / 0.5889 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4374, allocations: 4 kB / 0.5889 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.149e-05/0.4374, allocations: 17.55 kB / 0.5889 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.4376, allocations: 3.812 kB / 0.5889 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.4381, allocations: 225.2 kB / 0.5891 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.4384, allocations: 0.6802 MB / 0.5898 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.74e-05/0.4384, allocations: 4.688 kB / 0.5898 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.4385, allocations: 10.98 kB / 0.5898 GB, free: 14.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4385, allocations: 0 / 0.5898 GB, free: 14.78 MB / 446.1 MB Notification: Performance of Templates: time 0.003676/0.4422, allocations: 0.6262 MB / 0.5904 GB, free: 14.72 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)