Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008953/0.008953, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.00158/0.00158, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3279/0.3279, allocations: 54.97 MB / 324.9 MB, free: 4.848 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.001523/0.001523, allocations: 79.83 kB / 456.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1348, allocations: 59.59 MB / 0.5037 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002305/0.1371, allocations: 1.278 MB / 0.505 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009033/0.1381, allocations: 0.5255 MB / 0.5055 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.1381, allocations: 3.938 kB / 0.5055 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.1381, allocations: 0 / 0.5055 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.1382, allocations: 3.938 kB / 0.5055 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.1387, allocations: 135.4 kB / 0.5056 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.386e-05/0.1387, allocations: 23.92 kB / 0.5056 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.1388, allocations: 8 kB / 0.5056 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.1388, allocations: 19.92 kB / 0.5057 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.1389, allocations: 15.92 kB / 0.5057 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1389, allocations: 0 / 0.5057 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.1394, allocations: 339.4 kB / 0.506 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.1395, allocations: 11.98 kB / 0.506 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.1395, allocations: 11.92 kB / 0.506 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.1398, allocations: 151.6 kB / 0.5062 GB, free: 4.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1398, allocations: 0 / 0.5062 GB, free: 4.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1398, allocations: 0 / 0.5062 GB, free: 4.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1398, allocations: 0 / 0.5062 GB, free: 4.531 MB / 398.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.0004331/0.1403, allocations: 371.1 kB / 0.5065 GB, free: 4.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1403, allocations: 8.031 kB / 0.5065 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.1404, allocations: 8.875 kB / 0.5065 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.1405, allocations: 168.3 kB / 0.5067 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1405, allocations: 384 / 0.5067 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.1405, allocations: 12.38 kB / 0.5067 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.1409, allocations: 74.2 kB / 0.5068 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1409, allocations: 192 / 0.5068 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1409, allocations: 7.938 kB / 0.5068 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.141, allocations: 4 kB / 0.5068 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.1412, allocations: 47.94 kB / 0.5068 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.1414, allocations: 169.6 kB / 0.507 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.1417, allocations: 90.44 kB / 0.5071 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/0.1418, allocations: 24.86 kB / 0.5071 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002551/0.142, allocations: 109.1 kB / 0.5072 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1421, allocations: 38.56 kB / 0.5073 GB, free: 3.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1421, allocations: 0 / 0.5073 GB, free: 3.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.005007/0.1471, allocations: 1.157 MB / 0.5084 GB, free: 1.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.1471, allocations: 51.41 kB / 0.5084 GB, free: 1.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.027e-05/0.1472, allocations: 97.86 kB / 0.5085 GB, free: 1.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.1473, allocations: 29.83 kB / 0.5086 GB, free: 1.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.1473, allocations: 80.14 kB / 0.5086 GB, free: 1.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.1474, allocations: 39.62 kB / 0.5087 GB, free: 1.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.1474, allocations: 29.7 kB / 0.5087 GB, free: 1.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1475, allocations: 326.8 kB / 0.509 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.1477, allocations: 51.95 kB / 0.5091 GB, free: 1.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.1479, allocations: 63.08 kB / 0.5091 GB, free: 1.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.1483, allocations: 116.8 kB / 0.5092 GB, free: 1.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1483, allocations: 0 / 0.5092 GB, free: 1.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000465/0.1488, allocations: 169.5 kB / 0.5094 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1488, allocations: 4 kB / 0.5094 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1488, allocations: 7.984 kB / 0.5094 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1489, allocations: 3.984 kB / 0.5094 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.1491, allocations: 35.91 kB / 0.5094 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1491, allocations: 0 / 0.5094 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.1493, allocations: 19.98 kB / 0.5095 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1493, allocations: 4 kB / 0.5095 GB, free: 0.8281 MB / 398.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.349e-05/0.1494, allocations: 117.8 kB / 0.5096 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.1494, allocations: 7.938 kB / 0.5096 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.1495, allocations: 7.969 kB / 0.5096 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1495, allocations: 0 / 0.5096 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1495, allocations: 4 kB / 0.5096 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1495, allocations: 4 kB / 0.5096 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007663/0.1503, allocations: 448.5 kB / 0.51 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1503, allocations: 0 / 0.51 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.1505, allocations: 35.97 kB / 0.5101 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1506, allocations: 0 / 0.5101 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.1506, allocations: 3.984 kB / 0.5101 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1506, allocations: 0 / 0.5101 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1506, allocations: 4 kB / 0.5101 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007236/0.1513, allocations: 328 kB / 0.5104 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.1514, allocations: 85.2 kB / 0.5105 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.1514, allocations: 0 / 0.5105 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.1516, allocations: 23.97 kB / 0.5105 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.1516, allocations: 3.984 kB / 0.5105 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.1517, allocations: 4.094 kB / 0.5105 GB, free: 15.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.059e-05/0.1517, allocations: 83.22 kB / 0.5106 GB, free: 15.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1517, allocations: 0 / 0.5106 GB, free: 15.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.152, allocations: 20 kB / 0.5106 GB, free: 15.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0001311/0.1521, allocations: 107.3 kB / 0.5107 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004523/0.1525, allocations: 131.8 kB / 0.5108 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1526, allocations: 0 / 0.5108 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.1528, allocations: 75.88 kB / 0.5109 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.153, allocations: 7.859 kB / 0.5109 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.1543, allocations: 435.3 kB / 0.5113 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1546, allocations: 0.6846 MB / 0.512 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.1547, allocations: 19.92 kB / 0.512 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/0.1548, allocations: 11.44 kB / 0.512 GB, free: 14.05 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1548, allocations: 0 / 0.512 GB, free: 14.05 MB / 414.1 MB Notification: Performance of Templates: time 0.00351/0.1583, allocations: 0.9297 MB / 0.5129 GB, free: 13.16 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)