Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 107.3 kB / 16.36 MB, free: 6.285 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.00102/0.00102, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.272/1.272, 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.7782/0.7782, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3195, allocations: 80.9 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001938/0.3215, allocations: 1.276 MB / 0.587 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007604/0.3223, allocations: 0.622 MB / 0.5876 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.3223, allocations: 0 / 0.5876 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.3223, allocations: 5.141 kB / 0.5876 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.327e-05/0.3224, allocations: 5.344 kB / 0.5876 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.3228, allocations: 153.8 kB / 0.5878 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.685e-05/0.3229, allocations: 25.7 kB / 0.5878 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.323, allocations: 2.031 kB / 0.5878 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.404e-05/0.323, allocations: 18.38 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.323, allocations: 13.42 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.3231, allocations: 2.469 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.3235, allocations: 346.9 kB / 0.5882 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.3235, allocations: 8.969 kB / 0.5882 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.3236, allocations: 14.72 kB / 0.5882 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.3238, allocations: 156.1 kB / 0.5883 GB, free: 23.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3238, allocations: 1.031 kB / 0.5883 GB, free: 23.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3238, allocations: 0 / 0.5883 GB, free: 23.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3238, allocations: 2.406 kB / 0.5883 GB, free: 23.65 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003406/0.3242, allocations: 370.8 kB / 0.5887 GB, free: 23.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3242, allocations: 10.2 kB / 0.5887 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.3243, allocations: 3.844 kB / 0.5887 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.549e-05/0.3244, allocations: 161.8 kB / 0.5889 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3244, allocations: 2.219 kB / 0.5889 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.3244, allocations: 7.891 kB / 0.5889 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.3245, allocations: 53.25 kB / 0.5889 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3245, allocations: 5.125 kB / 0.5889 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3245, allocations: 1.531 kB / 0.5889 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3246, allocations: 1.969 kB / 0.5889 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.931e-05/0.3246, allocations: 19.02 kB / 0.5889 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.3248, allocations: 166.2 kB / 0.5891 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3249, allocations: 55.62 kB / 0.5892 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.3249, allocations: 30.53 kB / 0.5892 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3249, allocations: 1.938 kB / 0.5892 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.325, allocations: 40.81 kB / 0.5892 GB, free: 22.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.325, allocations: 2.031 kB / 0.5892 GB, free: 22.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009354/0.3259, allocations: 0.596 MB / 0.5898 GB, free: 22.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.3259, allocations: 52.94 kB / 0.5899 GB, free: 22.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.557e-05/0.326, allocations: 102.1 kB / 0.59 GB, free: 21.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.326, allocations: 25.7 kB / 0.59 GB, free: 21.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.754e-05/0.326, allocations: 81.95 kB / 0.5901 GB, free: 21.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.3261, allocations: 44.69 kB / 0.5901 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.3261, allocations: 21.94 kB / 0.5901 GB, free: 21.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.3262, allocations: 322.2 kB / 0.5904 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.742e-05/0.3262, allocations: 16.91 kB / 0.5904 GB, free: 21.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.3263, allocations: 25.11 kB / 0.5905 GB, free: 21.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.178e-05/0.3263, allocations: 52.86 kB / 0.5905 GB, free: 21.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3263, allocations: 7.875 kB / 0.5905 GB, free: 21.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001106/0.3265, allocations: 106.1 kB / 0.5906 GB, free: 21.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3265, allocations: 7.781 kB / 0.5906 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.3265, allocations: 0 / 0.5906 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3265, allocations: 0 / 0.5906 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.3266, allocations: 27.98 kB / 0.5907 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3266, allocations: 320 / 0.5907 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.3266, allocations: 1.656 kB / 0.5907 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3266, allocations: 4 kB / 0.5907 GB, free: 21.25 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 (13): * Single equations (assignments): 13 * 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 5.177e-05/0.3267, allocations: 122.3 kB / 0.5908 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.3267, allocations: 0 / 0.5908 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.3269, allocations: 110.1 kB / 0.5909 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3269, allocations: 0.5312 kB / 0.5909 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.3269, allocations: 1.219 kB / 0.5909 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3269, allocations: 0 / 0.5909 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.3272, allocations: 358.3 kB / 0.5912 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3272, allocations: 1.781 kB / 0.5912 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.329e-05/0.3273, allocations: 23.98 kB / 0.5913 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3273, allocations: 4 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3273, allocations: 4 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3273, allocations: 0.7188 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3273, allocations: 0 / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.3275, allocations: 218.8 kB / 0.5915 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.3275, allocations: 85.02 kB / 0.5916 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.3276, allocations: 0 / 0.5916 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.354e-05/0.3277, allocations: 8.016 kB / 0.5916 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.3277, allocations: 4 kB / 0.5916 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.3277, allocations: 8 kB / 0.5916 GB, free: 20.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.62e-05/0.3277, allocations: 84.02 kB / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3277, allocations: 0.5938 kB / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.328, allocations: 39.88 kB / 0.5917 GB, free: 20.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001438/0.3281, allocations: 137.4 kB / 0.5918 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.3282, allocations: 62.67 kB / 0.5919 GB, free: 19.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3282, allocations: 0 / 0.5919 GB, free: 19.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/0.3283, allocations: 41.45 kB / 0.5919 GB, free: 19.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.3285, allocations: 4 kB / 0.5919 GB, free: 19.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.3289, allocations: 284.6 kB / 0.5922 GB, free: 19.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.905e-05/0.329, allocations: 0.6877 MB / 0.5929 GB, free: 18.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.581e-05/0.329, allocations: 7.984 kB / 0.5929 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.3291, allocations: 19.38 kB / 0.5929 GB, free: 18.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3291, allocations: 0 / 0.5929 GB, free: 18.88 MB / 446.1 MB Notification: Performance of Templates: time 0.002749/0.3318, allocations: 0.9259 MB / 0.5938 GB, free: 17.98 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)