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.009615/0.009615, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001465/0.001465, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.629/1.629, allocations: 205.1 MB / 222.6 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4104/0.4104, allocations: 54.95 MB / 324.9 MB, free: 28 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.001757/0.001758, allocations: 71.31 kB / 456.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1542, allocations: 59.59 MB / 0.5038 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003355/0.1576, allocations: 1.254 MB / 0.505 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1587, allocations: 0.5341 MB / 0.5055 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.1587, allocations: 0 / 0.5055 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.1588, allocations: 3.938 kB / 0.5055 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.1589, allocations: 5.359 kB / 0.5055 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007283/0.1596, allocations: 132.3 kB / 0.5057 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.026e-05/0.1597, allocations: 25.27 kB / 0.5057 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.166e-05/0.1598, allocations: 2.406 kB / 0.5057 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.809e-05/0.1598, allocations: 17.81 kB / 0.5057 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.1599, allocations: 17.97 kB / 0.5057 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.1599, allocations: 1.344 kB / 0.5057 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007118/0.1606, allocations: 355.3 kB / 0.5061 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.1607, allocations: 2.094 kB / 0.5061 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.1607, allocations: 13.22 kB / 0.5061 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.1611, allocations: 148.9 kB / 0.5062 GB, free: 7.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1611, allocations: 0 / 0.5062 GB, free: 7.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1611, allocations: 1.469 kB / 0.5062 GB, free: 7.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1612, allocations: 0 / 0.5062 GB, free: 7.906 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.0005063/0.1617, allocations: 357 kB / 0.5066 GB, free: 7.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.1617, allocations: 9.906 kB / 0.5066 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.1618, allocations: 15.52 kB / 0.5066 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1619, allocations: 161.9 kB / 0.5067 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1619, allocations: 1.875 kB / 0.5067 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.162, allocations: 7.062 kB / 0.5067 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006487/0.1626, allocations: 121.7 kB / 0.5069 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1626, allocations: 4.125 kB / 0.5069 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1627, allocations: 5.156 kB / 0.5069 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1627, allocations: 5.156 kB / 0.5069 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.1632, allocations: 94.03 kB / 0.507 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1633, allocations: 171.1 kB / 0.5071 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/0.1639, allocations: 126.3 kB / 0.5073 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.1639, allocations: 30.23 kB / 0.5073 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003102/0.1643, allocations: 105.6 kB / 0.5074 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1643, allocations: 35.95 kB / 0.5074 GB, free: 6.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.1643, allocations: 5.188 kB / 0.5074 GB, free: 6.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.007912/0.1722, allocations: 1.803 MB / 0.5092 GB, free: 5.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.1723, allocations: 55.34 kB / 0.5092 GB, free: 4.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.901e-05/0.1723, allocations: 101.8 kB / 0.5093 GB, free: 4.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1724, allocations: 29.83 kB / 0.5094 GB, free: 4.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.126e-05/0.1724, allocations: 80.14 kB / 0.5094 GB, free: 4.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.1725, allocations: 43.45 kB / 0.5095 GB, free: 4.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.1725, allocations: 25.7 kB / 0.5095 GB, free: 4.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.1726, allocations: 314.8 kB / 0.5098 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.173, allocations: 103.9 kB / 0.5099 GB, free: 4.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.1733, allocations: 92 kB / 0.51 GB, free: 4.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006923/0.174, allocations: 220.6 kB / 0.5102 GB, free: 3.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.174, allocations: 0 / 0.5102 GB, free: 3.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007705/0.1748, allocations: 263.9 kB / 0.5105 GB, free: 3.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.1749, allocations: 4 kB / 0.5105 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1749, allocations: 320 / 0.5105 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.1749, allocations: 4 kB / 0.5105 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.1752, allocations: 59.94 kB / 0.5105 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1753, allocations: 0 / 0.5105 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.1755, allocations: 31.97 kB / 0.5105 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.1755, allocations: 11.97 kB / 0.5106 GB, free: 3.598 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 8.816e-05/0.1756, allocations: 117.8 kB / 0.5107 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.1757, allocations: 11.88 kB / 0.5107 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.811e-05/0.1757, allocations: 11.97 kB / 0.5107 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1757, allocations: 0 / 0.5107 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1757, allocations: 0 / 0.5107 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1758, allocations: 0 / 0.5107 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.1769, allocations: 0.5215 MB / 0.5112 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1769, allocations: 0 / 0.5112 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.1772, allocations: 67.88 kB / 0.5113 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.1772, allocations: 4 kB / 0.5113 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.1773, allocations: 4 kB / 0.5113 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1773, allocations: 0 / 0.5113 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1773, allocations: 0 / 0.5113 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.1785, allocations: 463 kB / 0.5117 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.1786, allocations: 93.03 kB / 0.5118 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.1786, allocations: 0 / 0.5118 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.1789, allocations: 40.02 kB / 0.5118 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.179, allocations: 4 kB / 0.5118 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.179, allocations: 11.98 kB / 0.5119 GB, free: 2.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.6e-05/0.179, allocations: 79.28 kB / 0.5119 GB, free: 2.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.179, allocations: 0 / 0.5119 GB, free: 2.082 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1793, allocations: 20 kB / 0.512 GB, free: 2.062 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 0.0001369/0.1794, allocations: 107.3 kB / 0.5121 GB, free: 1.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008223/0.1803, allocations: 223.7 kB / 0.5123 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.1803, allocations: 0 / 0.5123 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.1807, allocations: 115.8 kB / 0.5124 GB, free: 1.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.1809, allocations: 7.938 kB / 0.5124 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.1829, allocations: 0.5824 MB / 0.513 GB, free: 1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.1831, allocations: 0.6885 MB / 0.5136 GB, free: 292 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.1832, allocations: 19.92 kB / 0.5136 GB, free: 272 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.1833, allocations: 15.44 kB / 0.5137 GB, free: 256 kB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1833, allocations: 3.938 kB / 0.5137 GB, free: 252 kB / 382.1 MB Notification: Performance of Templates: time 0.004195/0.1875, allocations: 1.155 MB / 0.5148 GB, free: 15.13 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)