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.001311/0.001311, allocations: 110.2 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.001299/0.001299, allocations: 190.1 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.285/1.285, 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-master/package.mo): time 0.7792/0.7792, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.91 kB / 0.5068 GB, free: 7.625 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3139, allocations: 80.91 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001998/0.316, allocations: 1.269 MB / 0.587 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000768/0.3168, allocations: 0.6221 MB / 0.5876 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.3168, allocations: 0 / 0.5876 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.3168, allocations: 0 / 0.5876 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.592e-05/0.3169, allocations: 5.656 kB / 0.5876 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.3173, allocations: 150.1 kB / 0.5878 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.909e-05/0.3174, allocations: 17.22 kB / 0.5878 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.379e-05/0.3174, allocations: 2.5 kB / 0.5878 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.47e-05/0.3174, allocations: 16.17 kB / 0.5878 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.3175, allocations: 4.562 kB / 0.5878 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.3175, allocations: 5.297 kB / 0.5878 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.3179, allocations: 341.6 kB / 0.5881 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.297e-06/0.3179, allocations: 1.469 kB / 0.5881 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.318, allocations: 17.89 kB / 0.5882 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.3182, allocations: 150 kB / 0.5883 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3182, allocations: 1.375 kB / 0.5883 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3182, allocations: 0 / 0.5883 GB, free: 23.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.3182, allocations: 0.5 kB / 0.5883 GB, free: 23.68 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.000298/0.3185, allocations: 360.9 kB / 0.5886 GB, free: 23.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.3185, allocations: 10.8 kB / 0.5887 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.3186, allocations: 2.656 kB / 0.5887 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.922e-05/0.3187, allocations: 165.5 kB / 0.5888 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3187, allocations: 2.844 kB / 0.5888 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.3187, allocations: 1.719 kB / 0.5888 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.476e-05/0.3188, allocations: 49.14 kB / 0.5889 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3188, allocations: 7.875 kB / 0.5889 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3188, allocations: 2.219 kB / 0.5889 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3188, allocations: 0 / 0.5889 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/0.3189, allocations: 14.33 kB / 0.5889 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.319, allocations: 160 kB / 0.589 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.3191, allocations: 45.47 kB / 0.5891 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.3192, allocations: 15.95 kB / 0.5891 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.3192, allocations: 2.062 kB / 0.5891 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.3192, allocations: 40.69 kB / 0.5891 GB, free: 22.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3192, allocations: 0 / 0.5891 GB, free: 22.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.000473/0.3197, allocations: 309.3 kB / 0.5894 GB, free: 22.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.3197, allocations: 56.62 kB / 0.5895 GB, free: 22.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.645e-05/0.3198, allocations: 93.95 kB / 0.5896 GB, free: 22.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.3198, allocations: 26.67 kB / 0.5896 GB, free: 22.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.295e-05/0.3198, allocations: 81.33 kB / 0.5897 GB, free: 22.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.3198, allocations: 30.14 kB / 0.5897 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.3199, allocations: 18.81 kB / 0.5897 GB, free: 22.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.512e-05/0.3199, allocations: 316.7 kB / 0.59 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.3199, allocations: 11.36 kB / 0.59 GB, free: 21.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/0.32, allocations: 15.64 kB / 0.5901 GB, free: 21.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.795e-05/0.32, allocations: 32.61 kB / 0.5901 GB, free: 21.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.32, allocations: 0.875 kB / 0.5901 GB, free: 21.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.99e-05/0.3201, allocations: 68.78 kB / 0.5902 GB, free: 21.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.3201, allocations: 6.812 kB / 0.5902 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.3201, allocations: 0 / 0.5902 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3201, allocations: 0 / 0.5902 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.807e-05/0.3202, allocations: 16.08 kB / 0.5902 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.3202, allocations: 0 / 0.5902 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.3202, allocations: 5.281 kB / 0.5902 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.3202, allocations: 1.031 kB / 0.5902 GB, free: 21.71 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 3.851e-05/0.3203, allocations: 109.2 kB / 0.5903 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.3203, allocations: 6 kB / 0.5903 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.3204, allocations: 81.42 kB / 0.5904 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3204, allocations: 4.062 kB / 0.5904 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3204, allocations: 0 / 0.5904 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3204, allocations: 0.5156 kB / 0.5904 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.3206, allocations: 323.2 kB / 0.5907 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3207, allocations: 0.625 kB / 0.5907 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.3207, allocations: 15.98 kB / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3207, allocations: 1.562 kB / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.3207, allocations: 0 / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3207, allocations: 0 / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3208, allocations: 0 / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.3209, allocations: 190.2 kB / 0.5909 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.3209, allocations: 84.28 kB / 0.591 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.3209, allocations: 8.031 kB / 0.591 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.321, allocations: 0 / 0.591 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.321, allocations: 7.984 kB / 0.591 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.321, allocations: 0 / 0.591 GB, free: 20.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.666e-05/0.3211, allocations: 79.28 kB / 0.5911 GB, free: 20.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3211, allocations: 0 / 0.5911 GB, free: 20.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.3213, allocations: 29.47 kB / 0.5911 GB, free: 20.72 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.0001316/0.3214, allocations: 119.2 kB / 0.5912 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.341e-05/0.3215, allocations: 36.45 kB / 0.5912 GB, free: 20.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3215, allocations: 0.5625 kB / 0.5912 GB, free: 20.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.223e-05/0.3216, allocations: 20.55 kB / 0.5913 GB, free: 20.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.3218, allocations: 13.19 kB / 0.5913 GB, free: 20.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.3221, allocations: 191.7 kB / 0.5914 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.33e-05/0.3222, allocations: 0.6834 MB / 0.5921 GB, free: 19.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.478e-05/0.3222, allocations: 5.797 kB / 0.5921 GB, free: 19.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.3223, allocations: 11.44 kB / 0.5921 GB, free: 19.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3223, allocations: 1.844 kB / 0.5921 GB, free: 19.62 MB / 446.1 MB Notification: Performance of Templates: time 0.002613/0.3249, allocations: 0.6452 MB / 0.5928 GB, free: 19.05 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)