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.0008219/0.000822, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008752/0.0008752, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.161/1.161, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6617/0.6617, allocations: 132.4 MB / 423.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002787, allocations: 8 kB / 0.5034 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3254, allocations: 81.57 MB / 0.5831 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001042/0.3264, allocations: 0.9945 MB / 0.5841 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007394/0.3272, allocations: 0.5699 MB / 0.5846 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.3272, allocations: 0 / 0.5846 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.3273, allocations: 1.406 kB / 0.5846 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.38e-05/0.3273, allocations: 5.031 kB / 0.5846 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.3278, allocations: 118.5 kB / 0.5847 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.214e-05/0.3278, allocations: 18.45 kB / 0.5847 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.3279, allocations: 1.781 kB / 0.5847 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.881e-05/0.3279, allocations: 13.67 kB / 0.5848 GB, free: 3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.056e-05/0.3279, allocations: 4.656 kB / 0.5848 GB, free: 3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.3279, allocations: 1.781 kB / 0.5848 GB, free: 3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004655/0.3284, allocations: 340.2 kB / 0.5851 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.564e-06/0.3284, allocations: 1.594 kB / 0.5851 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.69e-05/0.3285, allocations: 28.45 kB / 0.5851 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.3286, allocations: 105.1 kB / 0.5852 GB, free: 2.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3286, allocations: 0.7812 kB / 0.5852 GB, free: 2.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3286, allocations: 0 / 0.5852 GB, free: 2.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.3286, allocations: 5.125 kB / 0.5852 GB, free: 2.836 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.0002699/0.3289, allocations: 350.5 kB / 0.5856 GB, free: 2.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.329, allocations: 9.781 kB / 0.5856 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.329, allocations: 4.688 kB / 0.5856 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.128e-05/0.3291, allocations: 169.8 kB / 0.5857 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3291, allocations: 5.594 kB / 0.5857 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.3291, allocations: 2.156 kB / 0.5857 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.63e-05/0.3292, allocations: 39.14 kB / 0.5858 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3292, allocations: 8 kB / 0.5858 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.3292, allocations: 1.547 kB / 0.5858 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3292, allocations: 0.7812 kB / 0.5858 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.3293, allocations: 7.344 kB / 0.5858 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.3294, allocations: 163.6 kB / 0.586 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.3295, allocations: 47.34 kB / 0.586 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.3296, allocations: 17.55 kB / 0.586 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.3296, allocations: 6.094 kB / 0.586 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.3296, allocations: 31.08 kB / 0.586 GB, free: 1.922 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3296, allocations: 5.938 kB / 0.5861 GB, free: 1.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004561/0.3301, allocations: 310.9 kB / 0.5864 GB, free: 1.629 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.602e-05/0.3301, allocations: 53.38 kB / 0.5864 GB, free: 1.566 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.772e-05/0.3302, allocations: 95.14 kB / 0.5865 GB, free: 1.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.3302, allocations: 30.39 kB / 0.5865 GB, free: 1.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.274e-05/0.3302, allocations: 89.83 kB / 0.5866 GB, free: 1.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.3302, allocations: 19.45 kB / 0.5866 GB, free: 1.328 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.3302, allocations: 0 / 0.5866 GB, free: 1.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.563e-05/0.3303, allocations: 317.8 kB / 0.5869 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.3303, allocations: 12 kB / 0.5869 GB, free: 1.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/0.3303, allocations: 19.92 kB / 0.587 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.574e-05/0.3303, allocations: 11.98 kB / 0.587 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.3303, allocations: 0 / 0.587 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.16e-05/0.3304, allocations: 67.47 kB / 0.587 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3304, allocations: 11.38 kB / 0.587 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.3305, allocations: 0.7031 kB / 0.587 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.3305, allocations: 1.219 kB / 0.587 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-05/0.3305, allocations: 10.73 kB / 0.5871 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3305, allocations: 5.766 kB / 0.5871 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.541e-05/0.3306, allocations: 0 / 0.5871 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.3306, allocations: 1.375 kB / 0.5871 GB, free: 0.9375 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.3306, allocations: 118.5 kB / 0.5872 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.3306, allocations: 2.375 kB / 0.5872 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.3307, allocations: 71.91 kB / 0.5872 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3307, allocations: 1.531 kB / 0.5873 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3308, allocations: 0.6094 kB / 0.5873 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3308, allocations: 0.8125 kB / 0.5873 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.331, allocations: 317 kB / 0.5876 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.331, allocations: 5.125 kB / 0.5876 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.331, allocations: 10.77 kB / 0.5876 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3311, allocations: 1.828 kB / 0.5876 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3311, allocations: 9.125 kB / 0.5876 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3311, allocations: 5.75 kB / 0.5876 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3311, allocations: 0.9688 kB / 0.5876 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.3312, allocations: 175.1 kB / 0.5878 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.3312, allocations: 85.73 kB / 0.5878 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.3313, allocations: 1.75 kB / 0.5878 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.35e-05/0.3313, allocations: 2.094 kB / 0.5878 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.3314, allocations: 9.188 kB / 0.5878 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.3314, allocations: 1.125 kB / 0.5878 GB, free: 168 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.82e-05/0.3314, allocations: 87.19 kB / 0.5879 GB, free: 84 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3314, allocations: 0 / 0.5879 GB, free: 84 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.3316, allocations: 19.66 kB / 0.588 GB, free: 80 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.3318, allocations: 126.7 kB / 0.5881 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.851e-05/0.3319, allocations: 32.02 kB / 0.5881 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3319, allocations: 4 kB / 0.5881 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.871e-05/0.3319, allocations: 21.27 kB / 0.5881 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.3321, allocations: 10.61 kB / 0.5881 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.3325, allocations: 221.5 kB / 0.5883 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.3327, allocations: 0.6824 MB / 0.589 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.948e-05/0.3327, allocations: 4.203 kB / 0.589 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.836e-05/0.3327, allocations: 10.78 kB / 0.589 GB, free: 15.06 MB / 446.1 MB Notification: Performance of SimCode: time 1.803e-06/0.3327, allocations: 0.875 kB / 0.589 GB, free: 15.06 MB / 446.1 MB Notification: Performance of Templates: time 0.002388/0.3351, allocations: 0.6202 MB / 0.5896 GB, free: 14.99 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)