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.00117/0.00117, allocations: 116.7 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.001119/0.001119, allocations: 192.2 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.294/1.294, 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.7761/0.7761, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 0.5068 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3399, allocations: 80.91 MB / 0.5858 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002264/0.3422, allocations: 1.276 MB / 0.587 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008545/0.3431, allocations: 0.6179 MB / 0.5876 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.3432, allocations: 3.125 kB / 0.5876 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.3432, allocations: 1.031 kB / 0.5876 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.689e-05/0.3433, allocations: 7.922 kB / 0.5876 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.3438, allocations: 144.9 kB / 0.5878 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.335e-05/0.3439, allocations: 20.2 kB / 0.5878 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.841e-05/0.344, allocations: 6.109 kB / 0.5878 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.492e-05/0.344, allocations: 9.375 kB / 0.5878 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.3441, allocations: 7.75 kB / 0.5878 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.3441, allocations: 2.031 kB / 0.5878 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000477/0.3446, allocations: 345.8 kB / 0.5881 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.3446, allocations: 4.609 kB / 0.5881 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.3446, allocations: 13.16 kB / 0.5882 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.3449, allocations: 146.5 kB / 0.5883 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3449, allocations: 4.781 kB / 0.5883 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3449, allocations: 0 / 0.5883 GB, free: 23.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3449, allocations: 1.719 kB / 0.5883 GB, free: 23.73 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.0003302/0.3453, allocations: 360.7 kB / 0.5886 GB, free: 23.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3453, allocations: 9.109 kB / 0.5887 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.3454, allocations: 3.875 kB / 0.5887 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.321e-05/0.3454, allocations: 166.7 kB / 0.5888 GB, free: 23.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3454, allocations: 5.625 kB / 0.5888 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3455, allocations: 3.188 kB / 0.5888 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.412e-05/0.3456, allocations: 52.2 kB / 0.5889 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.3456, allocations: 3.938 kB / 0.5889 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3456, allocations: 1.406 kB / 0.5889 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3456, allocations: 1.062 kB / 0.5889 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.043e-05/0.3457, allocations: 13.83 kB / 0.5889 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.3458, allocations: 159.6 kB / 0.5891 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.346, allocations: 48.91 kB / 0.5891 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.346, allocations: 18.08 kB / 0.5891 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.346, allocations: 0 / 0.5891 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.3461, allocations: 36.88 kB / 0.5891 GB, free: 22.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3461, allocations: 0 / 0.5891 GB, free: 22.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005506/0.3466, allocations: 301.5 kB / 0.5894 GB, free: 22.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.3467, allocations: 52.75 kB / 0.5895 GB, free: 22.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.407e-05/0.3467, allocations: 99.67 kB / 0.5896 GB, free: 22.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.607e-06/0.3467, allocations: 25.7 kB / 0.5896 GB, free: 22.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.516e-05/0.3467, allocations: 81.33 kB / 0.5897 GB, free: 22.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.3468, allocations: 26.45 kB / 0.5897 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.3468, allocations: 18.78 kB / 0.5897 GB, free: 22.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.805e-05/0.3469, allocations: 316.1 kB / 0.59 GB, free: 21.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.3469, allocations: 11.41 kB / 0.59 GB, free: 21.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/0.3469, allocations: 15.31 kB / 0.5901 GB, free: 21.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.322e-05/0.347, allocations: 40.2 kB / 0.5901 GB, free: 21.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.347, allocations: 1.031 kB / 0.5901 GB, free: 21.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.585e-05/0.3471, allocations: 65.09 kB / 0.5902 GB, free: 21.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3471, allocations: 11.23 kB / 0.5902 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3471, allocations: 1.938 kB / 0.5902 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3471, allocations: 4.562 kB / 0.5902 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.032e-05/0.3472, allocations: 9.938 kB / 0.5902 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3472, allocations: 1.344 kB / 0.5902 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.3472, allocations: 1.25 kB / 0.5902 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.3472, allocations: 5.281 kB / 0.5902 GB, free: 21.77 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.424e-05/0.3473, allocations: 114 kB / 0.5903 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.3473, allocations: 8 kB / 0.5903 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.3474, allocations: 71.27 kB / 0.5904 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3474, allocations: 0.5156 kB / 0.5904 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3474, allocations: 0 / 0.5904 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3474, allocations: 0 / 0.5904 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.3477, allocations: 328 kB / 0.5907 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3477, allocations: 1.094 kB / 0.5907 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.3477, allocations: 11.98 kB / 0.5907 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3477, allocations: 5.594 kB / 0.5907 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.3478, allocations: 7.984 kB / 0.5907 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3478, allocations: 0 / 0.5907 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3478, allocations: 3.938 kB / 0.5907 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.3479, allocations: 183.5 kB / 0.5909 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.3479, allocations: 77.11 kB / 0.591 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.348, allocations: 0 / 0.591 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.348, allocations: 8 kB / 0.591 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.3481, allocations: 3.984 kB / 0.591 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.3481, allocations: 4.688 kB / 0.591 GB, free: 20.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.772e-05/0.3481, allocations: 79.81 kB / 0.5911 GB, free: 20.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3481, allocations: 0.5312 kB / 0.5911 GB, free: 20.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.3484, allocations: 26.41 kB / 0.5911 GB, free: 20.76 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.0001457/0.3485, allocations: 135.1 kB / 0.5912 GB, free: 20.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.608e-05/0.3486, allocations: 32 kB / 0.5912 GB, free: 20.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3486, allocations: 0 / 0.5912 GB, free: 20.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.535e-05/0.3486, allocations: 24.58 kB / 0.5913 GB, free: 20.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3489, allocations: 0.8125 kB / 0.5913 GB, free: 20.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.3493, allocations: 191 kB / 0.5914 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.3494, allocations: 0.6807 MB / 0.5921 GB, free: 19.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.762e-05/0.3494, allocations: 5.094 kB / 0.5921 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.3494, allocations: 8.5 kB / 0.5921 GB, free: 19.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3494, allocations: 4 kB / 0.5921 GB, free: 19.65 MB / 446.1 MB Notification: Performance of Templates: time 0.002562/0.352, allocations: 0.6535 MB / 0.5928 GB, free: 19.07 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)