Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.009864/0.009863, allocations: 102.6 kB / 15.74 MB, free: 5.508 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.002075/0.002075, allocations: 195.6 kB / 16.67 MB, free: 5.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.1 MB / 222.6 MB, free: 4.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4006/0.4006, allocations: 54.94 MB / 324.8 MB, free: 48 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 72.14 kB / 456.2 MB, free: 38.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1323, allocations: 59.59 MB / 0.5037 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002017/0.1344, allocations: 1.266 MB / 0.505 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007965/0.1352, allocations: 0.5291 MB / 0.5055 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.1352, allocations: 0 / 0.5055 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.1352, allocations: 0 / 0.5055 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.466e-05/0.1353, allocations: 9.328 kB / 0.5055 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.1358, allocations: 132.2 kB / 0.5056 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.1359, allocations: 26.17 kB / 0.5057 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.149e-05/0.1359, allocations: 2.188 kB / 0.5057 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.136, allocations: 14.19 kB / 0.5057 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.1361, allocations: 12.06 kB / 0.5057 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.1361, allocations: 5.312 kB / 0.5057 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005566/0.1366, allocations: 351.9 kB / 0.506 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.1367, allocations: 6.484 kB / 0.506 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.1367, allocations: 12.59 kB / 0.506 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.137, allocations: 149.6 kB / 0.5062 GB, free: 7.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.137, allocations: 1.375 kB / 0.5062 GB, free: 7.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.137, allocations: 0 / 0.5062 GB, free: 7.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.137, allocations: 0 / 0.5062 GB, free: 7.945 MB / 382.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.0004196/0.1375, allocations: 366.1 kB / 0.5065 GB, free: 7.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1375, allocations: 12.25 kB / 0.5065 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.1375, allocations: 7.688 kB / 0.5066 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.919e-05/0.1376, allocations: 177.6 kB / 0.5067 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1377, allocations: 1.75 kB / 0.5067 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.1377, allocations: 4.5 kB / 0.5067 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.1383, allocations: 129.1 kB / 0.5069 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1383, allocations: 4.188 kB / 0.5069 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1383, allocations: 5.312 kB / 0.5069 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1383, allocations: 0 / 0.5069 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.1388, allocations: 90.89 kB / 0.507 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.139, allocations: 165.9 kB / 0.5071 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.1394, allocations: 128.5 kB / 0.5072 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.1395, allocations: 33.22 kB / 0.5073 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002698/0.1398, allocations: 106.9 kB / 0.5074 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1398, allocations: 31.94 kB / 0.5074 GB, free: 6.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.1398, allocations: 0 / 0.5074 GB, free: 6.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.007466/0.1473, allocations: 1.806 MB / 0.5092 GB, free: 5.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.1473, allocations: 55.41 kB / 0.5092 GB, free: 5.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.786e-05/0.1474, allocations: 97.86 kB / 0.5093 GB, free: 4.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1474, allocations: 29.7 kB / 0.5093 GB, free: 4.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.663e-05/0.1474, allocations: 80.14 kB / 0.5094 GB, free: 4.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.1475, allocations: 39.69 kB / 0.5094 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/0.1475, allocations: 25.7 kB / 0.5095 GB, free: 4.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.1476, allocations: 318.8 kB / 0.5098 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.1479, allocations: 108 kB / 0.5099 GB, free: 4.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.1483, allocations: 95.91 kB / 0.51 GB, free: 4.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006907/0.149, allocations: 215.5 kB / 0.5102 GB, free: 4.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.149, allocations: 0 / 0.5102 GB, free: 4.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007555/0.1498, allocations: 257.4 kB / 0.5104 GB, free: 3.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1498, allocations: 8 kB / 0.5104 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1498, allocations: 0 / 0.5104 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1498, allocations: 0 / 0.5104 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.1502, allocations: 63.88 kB / 0.5105 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1502, allocations: 0.7812 kB / 0.5105 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.1504, allocations: 39.95 kB / 0.5105 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.1505, allocations: 0 / 0.5105 GB, free: 3.699 MB / 382.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 6.717e-05/0.1505, allocations: 125.8 kB / 0.5106 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.1505, allocations: 7.938 kB / 0.5107 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.1506, allocations: 7.969 kB / 0.5107 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1506, allocations: 0 / 0.5107 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1506, allocations: 0 / 0.5107 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1506, allocations: 96 / 0.5107 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.1516, allocations: 0.5369 MB / 0.5112 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1517, allocations: 0 / 0.5112 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.152, allocations: 63.94 kB / 0.5113 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.152, allocations: 0 / 0.5113 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.152, allocations: 8 kB / 0.5113 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.152, allocations: 0 / 0.5113 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1521, allocations: 0 / 0.5113 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.1532, allocations: 467.1 kB / 0.5117 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.1532, allocations: 81.11 kB / 0.5118 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.1533, allocations: 0 / 0.5118 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.1536, allocations: 47.98 kB / 0.5118 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.1536, allocations: 7.984 kB / 0.5118 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1536, allocations: 4 kB / 0.5118 GB, free: 2.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.694e-05/0.1537, allocations: 83.27 kB / 0.5119 GB, free: 2.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1537, allocations: 0 / 0.5119 GB, free: 2.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.1539, allocations: 24 kB / 0.5119 GB, free: 2.148 MB / 382.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 9.377e-05/0.154, allocations: 99.34 kB / 0.512 GB, free: 2.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007822/0.1548, allocations: 227.7 kB / 0.5123 GB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1548, allocations: 0 / 0.5123 GB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000369/0.1552, allocations: 115.8 kB / 0.5124 GB, free: 1.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.1554, allocations: 4 kB / 0.5124 GB, free: 1.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.1575, allocations: 0.5666 MB / 0.5129 GB, free: 1.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.1576, allocations: 0.6885 MB / 0.5136 GB, free: 404 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.1578, allocations: 23.86 kB / 0.5136 GB, free: 380 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.1578, allocations: 15.44 kB / 0.5136 GB, free: 364 kB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1578, allocations: 3.938 kB / 0.5136 GB, free: 360 kB / 382.1 MB Notification: Performance of Templates: time 0.003834/0.1617, allocations: 1.164 MB / 0.5148 GB, free: 15.23 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)