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_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005683/0.005683, allocations: 106.2 kB / 15.74 MB, free: 6 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.001279/0.001279, allocations: 198.6 kB / 16.68 MB, free: 5.918 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.564/1.564, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4101/0.4101, allocations: 54.95 MB / 324.9 MB, free: 15.97 MB / 270.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.001481/0.001481, allocations: 69.73 kB / 456.2 MB, free: 38.35 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.144, allocations: 59.59 MB / 0.5037 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002264/0.1463, allocations: 1.248 MB / 0.5049 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008612/0.1472, allocations: 0.5275 MB / 0.5055 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.1472, allocations: 1.375 kB / 0.5055 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.1472, allocations: 0 / 0.5055 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.295e-05/0.1473, allocations: 7.922 kB / 0.5055 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.1477, allocations: 128.4 kB / 0.5056 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.455e-05/0.1478, allocations: 17.56 kB / 0.5056 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.1479, allocations: 9.297 kB / 0.5056 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.21e-05/0.1479, allocations: 4.125 kB / 0.5056 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.533e-05/0.148, allocations: 12.06 kB / 0.5056 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.148, allocations: 1.375 kB / 0.5056 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004744/0.1485, allocations: 358.6 kB / 0.506 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.1485, allocations: 1.375 kB / 0.506 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.1485, allocations: 10.69 kB / 0.506 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.1488, allocations: 131.8 kB / 0.5061 GB, free: 7.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1488, allocations: 0 / 0.5061 GB, free: 7.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1488, allocations: 1.219 kB / 0.5061 GB, free: 7.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1488, allocations: 0 / 0.5061 GB, free: 7.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003998/0.1492, allocations: 354.6 kB / 0.5064 GB, free: 7.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1493, allocations: 8.875 kB / 0.5065 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.1493, allocations: 11.05 kB / 0.5065 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.047e-05/0.1494, allocations: 173.4 kB / 0.5066 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1494, allocations: 1.531 kB / 0.5066 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.1494, allocations: 1.5 kB / 0.5066 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006105/0.1501, allocations: 109.5 kB / 0.5067 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1501, allocations: 4.188 kB / 0.5067 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1501, allocations: 3.938 kB / 0.5067 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1501, allocations: 1.25 kB / 0.5067 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.1506, allocations: 77.69 kB / 0.5068 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.1507, allocations: 160 kB / 0.507 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005685/0.1513, allocations: 115.6 kB / 0.5071 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.1513, allocations: 20.12 kB / 0.5071 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/0.1516, allocations: 109.2 kB / 0.5072 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.1517, allocations: 32.75 kB / 0.5072 GB, free: 6.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.1517, allocations: 0 / 0.5072 GB, free: 6.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.004321/0.156, allocations: 0.9758 MB / 0.5082 GB, free: 6.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.1561, allocations: 59.41 kB / 0.5082 GB, free: 6.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.1561, allocations: 101.8 kB / 0.5083 GB, free: 6.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1561, allocations: 25.7 kB / 0.5084 GB, free: 5.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.761e-05/0.1562, allocations: 84.12 kB / 0.5085 GB, free: 5.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1562, allocations: 19.75 kB / 0.5085 GB, free: 5.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.1562, allocations: 21.7 kB / 0.5085 GB, free: 5.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.498e-05/0.1563, allocations: 314.8 kB / 0.5088 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.1565, allocations: 63.94 kB / 0.5089 GB, free: 5.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.1568, allocations: 63.88 kB / 0.5089 GB, free: 5.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.1572, allocations: 128.7 kB / 0.509 GB, free: 5.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1572, allocations: 0 / 0.509 GB, free: 5.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005027/0.1577, allocations: 165.5 kB / 0.5092 GB, free: 5.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1578, allocations: 11.88 kB / 0.5092 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1578, allocations: 0 / 0.5092 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.1578, allocations: 4 kB / 0.5092 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.158, allocations: 39.95 kB / 0.5092 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.158, allocations: 0 / 0.5092 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.1582, allocations: 35.84 kB / 0.5093 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1582, allocations: 0 / 0.5093 GB, free: 5.012 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 (7): * Single equations (assignments): 7 * 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.784e-05/0.1583, allocations: 109.8 kB / 0.5094 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.1583, allocations: 7.938 kB / 0.5094 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.1583, allocations: 7.969 kB / 0.5094 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1583, allocations: 4 kB / 0.5094 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1584, allocations: 0 / 0.5094 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1584, allocations: 3.984 kB / 0.5094 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008475/0.1592, allocations: 451.2 kB / 0.5098 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1592, allocations: 3.984 kB / 0.5098 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.1594, allocations: 31.97 kB / 0.5099 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1594, allocations: 4 kB / 0.5099 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1595, allocations: 4.031 kB / 0.5099 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1595, allocations: 0 / 0.5099 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1595, allocations: 3.984 kB / 0.5099 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008008/0.1603, allocations: 336 kB / 0.5102 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.1603, allocations: 85.31 kB / 0.5103 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.1604, allocations: 4 kB / 0.5103 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.1606, allocations: 28.03 kB / 0.5103 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.1606, allocations: 7.984 kB / 0.5103 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.1606, allocations: 0 / 0.5103 GB, free: 3.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.093e-05/0.1606, allocations: 83.28 kB / 0.5104 GB, free: 3.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1606, allocations: 0 / 0.5104 GB, free: 3.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1609, allocations: 12 kB / 0.5104 GB, free: 3.738 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001115/0.161, allocations: 107.2 kB / 0.5105 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005349/0.1615, allocations: 131.8 kB / 0.5106 GB, free: 3.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1615, allocations: 4 kB / 0.5106 GB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.1618, allocations: 63.94 kB / 0.5107 GB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.162, allocations: 7.938 kB / 0.5107 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1631, allocations: 360.2 kB / 0.5111 GB, free: 3.043 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.1632, allocations: 0.6807 MB / 0.5117 GB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.841e-05/0.1633, allocations: 8 kB / 0.5117 GB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.1633, allocations: 15.42 kB / 0.5117 GB, free: 2.312 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1633, allocations: 0 / 0.5117 GB, free: 2.312 MB / 382.1 MB Notification: Performance of Templates: time 0.002993/0.1663, allocations: 0.8337 MB / 0.5126 GB, free: 1.52 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)