Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.0008512/0.0008512, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0008862/0.0008861, allocations: 177.3 kB / 15.94 MB, free: 228 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.189/1.189, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8323/0.8323, allocations: 135.2 MB / 426.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.0003021, allocations: 8.5 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1406, allocations: 82.31 MB / 0.5872 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001176/0.1418, allocations: 0.9867 MB / 0.5882 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005467/0.1424, allocations: 351.1 kB / 0.5885 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.1424, allocations: 4 kB / 0.5885 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.125e-05/0.1425, allocations: 0 / 0.5885 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.95e-05/0.1425, allocations: 3.984 kB / 0.5885 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.1428, allocations: 79.75 kB / 0.5886 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.422e-05/0.1429, allocations: 19.92 kB / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.397e-05/0.1429, allocations: 3.984 kB / 0.5886 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.921e-05/0.1429, allocations: 8 kB / 0.5886 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.635e-05/0.143, allocations: 15.92 kB / 0.5886 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.143, allocations: 7.984 kB / 0.5886 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.1433, allocations: 183.7 kB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.1433, allocations: 7.984 kB / 0.5888 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.1433, allocations: 29.7 kB / 0.5888 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.1435, allocations: 56.16 kB / 0.5889 GB, free: 1.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.1435, allocations: 0 / 0.5889 GB, free: 1.383 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1435, allocations: 0 / 0.5889 GB, free: 1.383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1435, allocations: 3.938 kB / 0.5889 GB, free: 1.379 MB / 494.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.000311/0.1438, allocations: 347.2 kB / 0.5892 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.1438, allocations: 8.031 kB / 0.5892 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.1439, allocations: 8 kB / 0.5892 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.144, allocations: 163 kB / 0.5894 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.144, allocations: 8 kB / 0.5894 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.144, allocations: 7.938 kB / 0.5894 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.1441, allocations: 45.69 kB / 0.5895 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1441, allocations: 0 / 0.5895 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.1441, allocations: 0 / 0.5895 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1442, allocations: 4 kB / 0.5895 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.197e-05/0.1442, allocations: 15.98 kB / 0.5895 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.1444, allocations: 189.4 kB / 0.5897 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.47e-05/0.1445, allocations: 66.44 kB / 0.5897 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.1445, allocations: 0 / 0.5897 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.1445, allocations: 30.56 kB / 0.5898 GB, free: 352 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.1445, allocations: 0 / 0.5898 GB, free: 352 kB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009795/0.1455, allocations: 0.5763 MB / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.1456, allocations: 55.41 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.019e-05/0.1456, allocations: 93.84 kB / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1456, allocations: 33.64 kB / 0.5905 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.447e-05/0.1457, allocations: 84.14 kB / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1457, allocations: 35.59 kB / 0.5906 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.1457, allocations: 4 kB / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.1458, allocations: 318.8 kB / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/0.1459, allocations: 23.98 kB / 0.5909 GB, free: 15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.669e-05/0.1459, allocations: 16 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.628e-05/0.1459, allocations: 32 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.146, allocations: 0 / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001298/0.1461, allocations: 100.8 kB / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1461, allocations: 6.344 kB / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1461, allocations: 0 / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1461, allocations: 8 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.1462, allocations: 23.98 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1462, allocations: 0 / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.1463, allocations: 96 / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1463, allocations: 7.938 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.6e-05/0.1464, allocations: 121.7 kB / 0.5912 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.1464, allocations: 0 / 0.5912 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.1466, allocations: 113.5 kB / 0.5913 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1466, allocations: 4 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1466, allocations: 0 / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1466, allocations: 3.984 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.1469, allocations: 358.4 kB / 0.5917 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1469, allocations: 4 kB / 0.5917 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.147, allocations: 16 kB / 0.5917 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1471, allocations: 3.984 kB / 0.5917 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.1471, allocations: 8 kB / 0.5917 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1471, allocations: 0 / 0.5917 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1471, allocations: 4 kB / 0.5917 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.1473, allocations: 219.1 kB / 0.5919 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.1473, allocations: 85.05 kB / 0.592 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1474, allocations: 0 / 0.592 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.24e-05/0.1474, allocations: 7.984 kB / 0.592 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.1475, allocations: 4 kB / 0.592 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1475, allocations: 4 kB / 0.592 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.997e-05/0.1475, allocations: 87.33 kB / 0.5921 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1475, allocations: 0 / 0.5921 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002413/0.1478, allocations: 36 kB / 0.5922 GB, free: 13.64 MB / 0.4981 GB 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 (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.0001634/0.1479, allocations: 123.2 kB / 0.5923 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.1481, allocations: 71.84 kB / 0.5923 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1481, allocations: 0 / 0.5923 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.289e-05/0.1481, allocations: 31.92 kB / 0.5924 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.1482, allocations: 7.953 kB / 0.5924 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.1487, allocations: 328.8 kB / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1489, allocations: 0.6926 MB / 0.5934 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.158e-05/0.149, allocations: 15.98 kB / 0.5934 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.149, allocations: 11.44 kB / 0.5934 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.149, allocations: 3.938 kB / 0.5934 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.002617/0.1516, allocations: 0.8815 MB / 0.5943 GB, free: 11.45 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: