Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001073/0.001073, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001081/0.001081, allocations: 189.5 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7657/0.7657, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 0.5068 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3579, allocations: 80.9 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001994/0.3599, allocations: 1.259 MB / 0.587 GB, free: 24.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007992/0.3607, allocations: 0.6203 MB / 0.5876 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.226e-05/0.3607, allocations: 1.812 kB / 0.5876 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.3608, allocations: 0 / 0.5876 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.449e-05/0.3608, allocations: 7.031 kB / 0.5876 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.3613, allocations: 143.4 kB / 0.5878 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.643e-05/0.3614, allocations: 25.97 kB / 0.5878 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.3614, allocations: 1.438 kB / 0.5878 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.2e-05/0.3615, allocations: 9.25 kB / 0.5878 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.3615, allocations: 11.42 kB / 0.5878 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.3615, allocations: 1.312 kB / 0.5878 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004152/0.3619, allocations: 346.6 kB / 0.5881 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.362, allocations: 2.594 kB / 0.5881 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.362, allocations: 6.5 kB / 0.5881 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.3622, allocations: 154.4 kB / 0.5883 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3622, allocations: 2.531 kB / 0.5883 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.109e-05/0.3622, allocations: 0 / 0.5883 GB, free: 23.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.3623, allocations: 0 / 0.5883 GB, free: 23.69 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.0003154/0.3626, allocations: 355.7 kB / 0.5886 GB, free: 23.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.3626, allocations: 10.52 kB / 0.5886 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.3627, allocations: 4.188 kB / 0.5886 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.861e-05/0.3627, allocations: 173.6 kB / 0.5888 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3627, allocations: 1.812 kB / 0.5888 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.3628, allocations: 1.812 kB / 0.5888 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.088e-05/0.3629, allocations: 50.41 kB / 0.5889 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3629, allocations: 0 / 0.5889 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3629, allocations: 0 / 0.5889 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3629, allocations: 5.812 kB / 0.5889 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.621e-05/0.3629, allocations: 7.344 kB / 0.5889 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.3631, allocations: 163.4 kB / 0.589 GB, free: 22.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.3632, allocations: 42.02 kB / 0.5891 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.3633, allocations: 20.12 kB / 0.5891 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.3633, allocations: 0 / 0.5891 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.3633, allocations: 44.34 kB / 0.5891 GB, free: 22.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3633, allocations: 1.844 kB / 0.5891 GB, free: 22.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.000497/0.3638, allocations: 308.6 kB / 0.5894 GB, free: 22.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.3639, allocations: 51.41 kB / 0.5895 GB, free: 22.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.962e-05/0.3639, allocations: 103.1 kB / 0.5896 GB, free: 22.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.3639, allocations: 27.17 kB / 0.5896 GB, free: 22.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.469e-05/0.364, allocations: 81.02 kB / 0.5897 GB, free: 22.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.364, allocations: 22.25 kB / 0.5897 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.364, allocations: 24.48 kB / 0.5897 GB, free: 22.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.022e-05/0.3641, allocations: 312.1 kB / 0.59 GB, free: 21.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.3641, allocations: 14.8 kB / 0.59 GB, free: 21.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.003e-05/0.3641, allocations: 10.62 kB / 0.59 GB, free: 21.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.3642, allocations: 28.89 kB / 0.5901 GB, free: 21.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3642, allocations: 1.031 kB / 0.5901 GB, free: 21.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.187e-05/0.3643, allocations: 78.11 kB / 0.5901 GB, free: 21.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3643, allocations: 7.875 kB / 0.5902 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3643, allocations: 48 / 0.5902 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3643, allocations: 5.703 kB / 0.5902 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/0.3644, allocations: 14.61 kB / 0.5902 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.3644, allocations: 0 / 0.5902 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.3644, allocations: 0 / 0.5902 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-06/0.3644, allocations: 2.562 kB / 0.5902 GB, free: 21.73 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 4.112e-05/0.3645, allocations: 113.4 kB / 0.5903 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.3645, allocations: 5.375 kB / 0.5903 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.3646, allocations: 79.67 kB / 0.5904 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3646, allocations: 0 / 0.5904 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3646, allocations: 0 / 0.5904 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3646, allocations: 0 / 0.5904 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3648, allocations: 320.1 kB / 0.5907 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3648, allocations: 2.062 kB / 0.5907 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.3649, allocations: 15.94 kB / 0.5907 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3649, allocations: 0 / 0.5907 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3649, allocations: 3.984 kB / 0.5907 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3649, allocations: 4.188 kB / 0.5907 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3649, allocations: 1.062 kB / 0.5907 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.3651, allocations: 181.6 kB / 0.5909 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.3651, allocations: 85.12 kB / 0.591 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.3651, allocations: 0.5938 kB / 0.591 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.647e-05/0.3652, allocations: 1.312 kB / 0.591 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.3652, allocations: 8 kB / 0.591 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.3652, allocations: 7.984 kB / 0.591 GB, free: 20.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.692e-05/0.3652, allocations: 76.53 kB / 0.591 GB, free: 20.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3652, allocations: 0 / 0.591 GB, free: 20.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.3656, allocations: 27.94 kB / 0.5911 GB, free: 20.74 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.0001317/0.3657, allocations: 130.7 kB / 0.5912 GB, free: 20.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.955e-05/0.3658, allocations: 35.92 kB / 0.5912 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3659, allocations: 0 / 0.5912 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.172e-05/0.3659, allocations: 19.98 kB / 0.5912 GB, free: 20.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.3661, allocations: 4 kB / 0.5912 GB, free: 20.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.3664, allocations: 183.3 kB / 0.5914 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.776e-05/0.3666, allocations: 0.6821 MB / 0.5921 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.59e-05/0.3666, allocations: 13.36 kB / 0.5921 GB, free: 19.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.3666, allocations: 11.44 kB / 0.5921 GB, free: 19.63 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3666, allocations: 0 / 0.5921 GB, free: 19.63 MB / 446.1 MB Notification: Performance of Templates: time 0.002463/0.3691, allocations: 0.635 MB / 0.5927 GB, free: 19.07 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)