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.001441/0.001441, allocations: 113.7 kB / 16.37 MB, free: 6.004 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.001538/0.001538, allocations: 196 kB / 17.31 MB, free: 5.613 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8295/0.8295, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.89 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3475, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00253/0.3501, allocations: 1.267 MB / 0.5827 GB, free: 26.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009196/0.351, allocations: 0.619 MB / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.3511, allocations: 0 / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.3511, allocations: 0 / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.464e-05/0.3512, allocations: 3.938 kB / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004802/0.3517, allocations: 151.9 kB / 0.5835 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.738e-05/0.3517, allocations: 18.08 kB / 0.5835 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.3518, allocations: 2.688 kB / 0.5835 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.17e-05/0.3518, allocations: 10.59 kB / 0.5835 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.3518, allocations: 7.016 kB / 0.5835 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.3519, allocations: 4.281 kB / 0.5835 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.3523, allocations: 342.8 kB / 0.5839 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.3523, allocations: 6.031 kB / 0.5839 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.3523, allocations: 8.75 kB / 0.5839 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.3526, allocations: 149.8 kB / 0.584 GB, free: 25.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3526, allocations: 5.234 kB / 0.584 GB, free: 25.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3526, allocations: 4.656 kB / 0.584 GB, free: 25.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3526, allocations: 0 / 0.584 GB, free: 25.72 MB / 446.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.0003388/0.353, allocations: 356.1 kB / 0.5844 GB, free: 25.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.353, allocations: 9.5 kB / 0.5844 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.353, allocations: 3.906 kB / 0.5844 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.287e-05/0.3531, allocations: 169.9 kB / 0.5845 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3532, allocations: 1.031 kB / 0.5845 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.3532, allocations: 11.88 kB / 0.5846 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.829e-05/0.3533, allocations: 44 kB / 0.5846 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3533, allocations: 0.625 kB / 0.5846 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3533, allocations: 4 kB / 0.5846 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3533, allocations: 1.625 kB / 0.5846 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.029e-05/0.3534, allocations: 10.62 kB / 0.5846 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.3535, allocations: 155.4 kB / 0.5848 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.3537, allocations: 45.64 kB / 0.5848 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.3537, allocations: 21.44 kB / 0.5848 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.3538, allocations: 1.406 kB / 0.5848 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.3538, allocations: 38.47 kB / 0.5849 GB, free: 24.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3538, allocations: 0.5 kB / 0.5849 GB, free: 24.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006269/0.3544, allocations: 307.3 kB / 0.5852 GB, free: 24.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.3545, allocations: 52.5 kB / 0.5852 GB, free: 24.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.134e-05/0.3545, allocations: 101.7 kB / 0.5853 GB, free: 24.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.3545, allocations: 30.8 kB / 0.5853 GB, free: 24.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2e-05/0.3546, allocations: 80.14 kB / 0.5854 GB, free: 24.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.3546, allocations: 27.42 kB / 0.5854 GB, free: 24.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.3546, allocations: 23.36 kB / 0.5855 GB, free: 24.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.329e-05/0.3547, allocations: 312.7 kB / 0.5858 GB, free: 23.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.3547, allocations: 10.94 kB / 0.5858 GB, free: 23.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.379e-05/0.3548, allocations: 21.09 kB / 0.5858 GB, free: 23.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.491e-05/0.3548, allocations: 29.05 kB / 0.5858 GB, free: 23.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3548, allocations: 0 / 0.5858 GB, free: 23.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.99e-05/0.3549, allocations: 72.72 kB / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.355, allocations: 4.219 kB / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.355, allocations: 0 / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.355, allocations: 3.156 kB / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.355, allocations: 9.625 kB / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3551, allocations: 3.984 kB / 0.5859 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.3551, allocations: 1 kB / 0.5859 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3551, allocations: 2.531 kB / 0.5859 GB, free: 23.76 MB / 446.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 6.235e-05/0.3552, allocations: 112.2 kB / 0.586 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.3552, allocations: 8.125 kB / 0.586 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.3553, allocations: 74.5 kB / 0.5861 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3553, allocations: 3.938 kB / 0.5861 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.3554, allocations: 7.984 kB / 0.5861 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3554, allocations: 3.938 kB / 0.5861 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.3557, allocations: 315.4 kB / 0.5864 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3557, allocations: 1.188 kB / 0.5864 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.3557, allocations: 9.688 kB / 0.5864 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3557, allocations: 2.5 kB / 0.5864 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.3558, allocations: 5.312 kB / 0.5864 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3558, allocations: 0 / 0.5864 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3558, allocations: 5.266 kB / 0.5864 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.3559, allocations: 179.8 kB / 0.5866 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.356, allocations: 87.41 kB / 0.5867 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.356, allocations: 1.969 kB / 0.5867 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.3561, allocations: 2.281 kB / 0.5867 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.887e-05/0.3561, allocations: 3.312 kB / 0.5867 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.3561, allocations: 3 kB / 0.5867 GB, free: 22.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.217e-05/0.3561, allocations: 86.52 kB / 0.5868 GB, free: 22.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3561, allocations: 0 / 0.5868 GB, free: 22.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.3564, allocations: 22.53 kB / 0.5868 GB, free: 22.87 MB / 446.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.0001618/0.3566, allocations: 125.2 kB / 0.5869 GB, free: 22.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.811e-05/0.3567, allocations: 32.02 kB / 0.587 GB, free: 22.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3567, allocations: 4.281 kB / 0.587 GB, free: 22.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.535e-05/0.3567, allocations: 14.78 kB / 0.587 GB, free: 22.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.3569, allocations: 7.25 kB / 0.587 GB, free: 22.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.3573, allocations: 188.9 kB / 0.5872 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.68e-05/0.3574, allocations: 0.6811 MB / 0.5878 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.837e-05/0.3574, allocations: 10.44 kB / 0.5878 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.3574, allocations: 10.06 kB / 0.5878 GB, free: 21.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3574, allocations: 0 / 0.5878 GB, free: 21.88 MB / 446.1 MB Notification: Performance of Templates: time 0.00269/0.3601, allocations: 0.6254 MB / 0.5885 GB, free: 21.62 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)