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.001136/0.001136, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001046/0.001046, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7829/0.7829, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 60.14 kB / 0.5067 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3436, allocations: 80.9 MB / 0.5858 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002159/0.3458, allocations: 1.289 MB / 0.587 GB, free: 24.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000848/0.3467, allocations: 0.6182 MB / 0.5876 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.3468, allocations: 6.094 kB / 0.5876 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.3468, allocations: 0 / 0.5876 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.94e-05/0.3468, allocations: 3.938 kB / 0.5876 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.3473, allocations: 147.9 kB / 0.5878 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.828e-05/0.3474, allocations: 24.55 kB / 0.5878 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.3475, allocations: 7.922 kB / 0.5878 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.179e-05/0.3475, allocations: 14.58 kB / 0.5878 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.254e-05/0.3475, allocations: 15.89 kB / 0.5878 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.3476, allocations: 2.5 kB / 0.5878 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004269/0.348, allocations: 343.5 kB / 0.5882 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.348, allocations: 10.23 kB / 0.5882 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.348, allocations: 13.34 kB / 0.5882 GB, free: 23.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.3483, allocations: 155.9 kB / 0.5883 GB, free: 23.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3483, allocations: 0 / 0.5883 GB, free: 23.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3483, allocations: 1.125 kB / 0.5883 GB, free: 23.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.3483, allocations: 5.125 kB / 0.5883 GB, free: 23.51 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.0003069/0.3486, allocations: 373 kB / 0.5887 GB, free: 23.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.3487, allocations: 11.2 kB / 0.5887 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.3487, allocations: 4.469 kB / 0.5887 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.638e-05/0.3488, allocations: 166.6 kB / 0.5889 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3488, allocations: 5.812 kB / 0.5889 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.3488, allocations: 4.156 kB / 0.5889 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.3489, allocations: 53.16 kB / 0.5889 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.3489, allocations: 0 / 0.5889 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.349, allocations: 1.469 kB / 0.5889 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.349, allocations: 1.969 kB / 0.5889 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.686e-05/0.349, allocations: 22.25 kB / 0.5889 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.3491, allocations: 167.4 kB / 0.5891 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.131e-05/0.3492, allocations: 65.73 kB / 0.5892 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.3493, allocations: 26.36 kB / 0.5892 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.3493, allocations: 1.469 kB / 0.5892 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.3493, allocations: 39.98 kB / 0.5892 GB, free: 22.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.3493, allocations: 0 / 0.5892 GB, free: 22.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009388/0.3503, allocations: 0.5858 MB / 0.5898 GB, free: 22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.3503, allocations: 54.12 kB / 0.5899 GB, free: 21.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.25e-05/0.3504, allocations: 96.52 kB / 0.59 GB, free: 21.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.3504, allocations: 27.73 kB / 0.59 GB, free: 21.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.357e-05/0.3504, allocations: 80.83 kB / 0.5901 GB, free: 21.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.3504, allocations: 43.78 kB / 0.5901 GB, free: 21.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.3505, allocations: 27.22 kB / 0.5901 GB, free: 21.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.932e-05/0.3505, allocations: 317.4 kB / 0.5904 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/0.3506, allocations: 24.08 kB / 0.5904 GB, free: 21.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-05/0.3506, allocations: 18.03 kB / 0.5905 GB, free: 21.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.086e-05/0.3507, allocations: 64.75 kB / 0.5905 GB, free: 21.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3507, allocations: 5.344 kB / 0.5905 GB, free: 21.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001254/0.3508, allocations: 102.7 kB / 0.5906 GB, free: 21.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.3508, allocations: 4 kB / 0.5906 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3508, allocations: 0 / 0.5906 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3509, allocations: 0.8125 kB / 0.5906 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.456e-05/0.351, allocations: 31.92 kB / 0.5907 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.351, allocations: 96 / 0.5907 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.351, allocations: 4.438 kB / 0.5907 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.351, allocations: 4.656 kB / 0.5907 GB, free: 21.18 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 4.691e-05/0.3511, allocations: 115.8 kB / 0.5908 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.3511, allocations: 4 kB / 0.5908 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.3512, allocations: 105.6 kB / 0.5909 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3513, allocations: 3.938 kB / 0.5909 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3513, allocations: 1.656 kB / 0.5909 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3513, allocations: 0 / 0.5909 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.3516, allocations: 356.2 kB / 0.5912 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3516, allocations: 1.406 kB / 0.5912 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-05/0.3517, allocations: 19.98 kB / 0.5913 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3517, allocations: 3.938 kB / 0.5913 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.3517, allocations: 8 kB / 0.5913 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3517, allocations: 5.375 kB / 0.5913 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3517, allocations: 0 / 0.5913 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.3519, allocations: 213.5 kB / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.3519, allocations: 89 kB / 0.5916 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3519, allocations: 0 / 0.5916 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.352, allocations: 4 kB / 0.5916 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.3521, allocations: 12.92 kB / 0.5916 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.3521, allocations: 0 / 0.5916 GB, free: 20.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.992e-05/0.3521, allocations: 84.66 kB / 0.5917 GB, free: 20.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3521, allocations: 0 / 0.5917 GB, free: 20.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.3524, allocations: 35.94 kB / 0.5917 GB, free: 20.05 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.0001679/0.3526, allocations: 140.5 kB / 0.5918 GB, free: 19.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.3527, allocations: 59.98 kB / 0.5919 GB, free: 19.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3527, allocations: 0.875 kB / 0.5919 GB, free: 19.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.054e-05/0.3527, allocations: 35.86 kB / 0.5919 GB, free: 19.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.353, allocations: 12.06 kB / 0.5919 GB, free: 19.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.3534, allocations: 283.9 kB / 0.5922 GB, free: 19.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.596e-05/0.3536, allocations: 0.6859 MB / 0.5929 GB, free: 18.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.856e-05/0.3536, allocations: 15.52 kB / 0.5929 GB, free: 18.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.3536, allocations: 11.44 kB / 0.5929 GB, free: 18.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3536, allocations: 0 / 0.5929 GB, free: 18.82 MB / 446.1 MB Notification: Performance of Templates: time 0.002854/0.3565, allocations: 0.9417 MB / 0.5938 GB, free: 17.91 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)