Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001195/0.001195, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.31/1.31, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7541/0.7541, allocations: 132.2 MB / 422.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 63.72 kB / 0.5019 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4239, allocations: 80.2 MB / 0.5802 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002446/0.4264, allocations: 1.33 MB / 0.5815 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009596/0.4274, allocations: 0.6103 MB / 0.5821 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.4274, allocations: 1.25 kB / 0.5821 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.4275, allocations: 0.7031 kB / 0.5821 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.738e-05/0.4275, allocations: 8.625 kB / 0.5821 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.4281, allocations: 128.7 kB / 0.5822 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.8e-05/0.4282, allocations: 27.52 kB / 0.5823 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.4282, allocations: 2.297 kB / 0.5823 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.634e-05/0.4283, allocations: 9.047 kB / 0.5823 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.4283, allocations: 9.797 kB / 0.5823 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.4283, allocations: 0 / 0.5823 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005307/0.4289, allocations: 346.5 kB / 0.5826 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.4289, allocations: 2.656 kB / 0.5826 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.4289, allocations: 11.81 kB / 0.5826 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.4291, allocations: 94.05 kB / 0.5827 GB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4291, allocations: 0.5156 kB / 0.5827 GB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4291, allocations: 1.219 kB / 0.5827 GB, free: 2.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.4291, allocations: 4 kB / 0.5827 GB, free: 2.961 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.0003408/0.4295, allocations: 357.5 kB / 0.5831 GB, free: 2.586 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4295, allocations: 9.375 kB / 0.5831 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.4296, allocations: 2.906 kB / 0.5831 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.023e-05/0.4297, allocations: 166.9 kB / 0.5832 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.4297, allocations: 5.844 kB / 0.5833 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.4297, allocations: 5.969 kB / 0.5833 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.4298, allocations: 48.5 kB / 0.5833 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.4298, allocations: 4 kB / 0.5833 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.4299, allocations: 0 / 0.5833 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4299, allocations: 1.125 kB / 0.5833 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.003e-05/0.4299, allocations: 7.859 kB / 0.5833 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.43, allocations: 163 kB / 0.5835 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.4302, allocations: 44.16 kB / 0.5835 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.4303, allocations: 17.48 kB / 0.5835 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.4303, allocations: 5.625 kB / 0.5835 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.4303, allocations: 39.62 kB / 0.5836 GB, free: 2.039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.4303, allocations: 1 kB / 0.5836 GB, free: 2.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.000564/0.4309, allocations: 313.4 kB / 0.5839 GB, free: 1.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.4309, allocations: 52.5 kB / 0.5839 GB, free: 1.688 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.624e-05/0.431, allocations: 99.52 kB / 0.584 GB, free: 1.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.431, allocations: 26.89 kB / 0.584 GB, free: 1.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.758e-05/0.431, allocations: 84.66 kB / 0.5841 GB, free: 1.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.431, allocations: 24.78 kB / 0.5841 GB, free: 1.449 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.4311, allocations: 19.55 kB / 0.5842 GB, free: 1.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.431e-05/0.4311, allocations: 314.3 kB / 0.5845 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.671e-05/0.4312, allocations: 10.89 kB / 0.5845 GB, free: 1.113 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.4312, allocations: 12.91 kB / 0.5845 GB, free: 1.109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/0.4312, allocations: 36.23 kB / 0.5845 GB, free: 1.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.4313, allocations: 5.375 kB / 0.5845 GB, free: 1.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.325e-05/0.4314, allocations: 71.17 kB / 0.5846 GB, free: 1.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4314, allocations: 9.812 kB / 0.5846 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.4314, allocations: 0.5625 kB / 0.5846 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4314, allocations: 0.8438 kB / 0.5846 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.58e-05/0.4315, allocations: 11.88 kB / 0.5846 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.4315, allocations: 0 / 0.5846 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.4315, allocations: 1.031 kB / 0.5846 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.4315, allocations: 2.625 kB / 0.5846 GB, free: 1.027 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.674e-05/0.4316, allocations: 117.3 kB / 0.5847 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.4316, allocations: 11.11 kB / 0.5847 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.4317, allocations: 68.95 kB / 0.5848 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4317, allocations: 0 / 0.5848 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4317, allocations: 4.906 kB / 0.5848 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4318, allocations: 0.5156 kB / 0.5848 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.432, allocations: 320.5 kB / 0.5851 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.432, allocations: 1.25 kB / 0.5851 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-05/0.4321, allocations: 15.38 kB / 0.5851 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4321, allocations: 5.5 kB / 0.5851 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.4321, allocations: 1.281 kB / 0.5851 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4321, allocations: 0.75 kB / 0.5851 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4322, allocations: 1.922 kB / 0.5851 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.4323, allocations: 179.3 kB / 0.5853 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.054e-05/0.4324, allocations: 81.89 kB / 0.5854 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.4324, allocations: 1.859 kB / 0.5854 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.4325, allocations: 10.47 kB / 0.5854 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.4325, allocations: 7.734 kB / 0.5854 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.4325, allocations: 3.297 kB / 0.5854 GB, free: 248 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.965e-05/0.4325, allocations: 78.39 kB / 0.5855 GB, free: 172 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4325, allocations: 0 / 0.5855 GB, free: 172 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000243/0.4328, allocations: 23.11 kB / 0.5855 GB, free: 164 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0001617/0.433, allocations: 124.8 kB / 0.5856 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.4331, allocations: 39.77 kB / 0.5857 GB, free: 44 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4331, allocations: 0.75 kB / 0.5857 GB, free: 44 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/0.4331, allocations: 20.78 kB / 0.5857 GB, free: 36 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.4334, allocations: 2.562 kB / 0.5857 GB, free: 36 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.4338, allocations: 231.8 kB / 0.5859 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.4341, allocations: 0.6792 MB / 0.5866 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.4341, allocations: 12.69 kB / 0.5866 GB, free: 15.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4341, allocations: 0 / 0.5866 GB, free: 15.11 MB / 446.1 MB Notification: Performance of Templates: time 0.002486/0.4366, allocations: 0.8069 MB / 0.5874 GB, free: 15.04 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)