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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001594, allocations: 102.1 kB / 16.4 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 194.7 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.1 MB / 227.2 MB, free: 12.14 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2923/0.2923, allocations: 54.95 MB / 331.6 MB, free: 2.746 MB / 270.1 MB " [Timeout remaining time 179] 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=2500,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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "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.002213/0.002213, allocations: 74.7 kB / 464.9 MB, free: 352 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1527, allocations: 59.59 MB / 0.5122 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003737/0.1564, allocations: 1.27 MB / 0.5135 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1579, allocations: 0.5264 MB / 0.514 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.1579, allocations: 0 / 0.514 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.158, allocations: 3.938 kB / 0.514 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.474e-05/0.1581, allocations: 0 / 0.514 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.1587, allocations: 135.4 kB / 0.5141 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.1588, allocations: 35.78 kB / 0.5141 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.895e-05/0.1589, allocations: 8 kB / 0.5141 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.1589, allocations: 11.98 kB / 0.5142 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/0.159, allocations: 15.94 kB / 0.5142 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1591, allocations: 0 / 0.5142 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000756/0.1598, allocations: 343.4 kB / 0.5145 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.1599, allocations: 11.98 kB / 0.5145 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.1599, allocations: 11.92 kB / 0.5145 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.1603, allocations: 151.5 kB / 0.5147 GB, free: 2.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1603, allocations: 4 kB / 0.5147 GB, free: 2.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1603, allocations: 0 / 0.5147 GB, free: 2.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.1603, allocations: 0 / 0.5147 GB, free: 2.266 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.000641/0.161, allocations: 379 kB / 0.515 GB, free: 1.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1611, allocations: 8.031 kB / 0.515 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.1611, allocations: 0.9375 kB / 0.515 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.1613, allocations: 168.3 kB / 0.5152 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1613, allocations: 384 / 0.5152 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.1614, allocations: 12.38 kB / 0.5152 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.1618, allocations: 78.14 kB / 0.5153 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.1619, allocations: 8.156 kB / 0.5153 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.1619, allocations: 7.938 kB / 0.5153 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1619, allocations: 4 kB / 0.5153 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.1622, allocations: 51.92 kB / 0.5154 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.1625, allocations: 169.6 kB / 0.5155 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.1629, allocations: 82.52 kB / 0.5156 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.163, allocations: 29.08 kB / 0.5156 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003508/0.1634, allocations: 109.1 kB / 0.5157 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/0.1634, allocations: 42.48 kB / 0.5158 GB, free: 0.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.1635, allocations: 0 / 0.5158 GB, free: 0.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.006906/0.1704, allocations: 1.148 MB / 0.5169 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.1705, allocations: 51.41 kB / 0.5169 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1706, allocations: 101.8 kB / 0.517 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1706, allocations: 29.83 kB / 0.5171 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.1707, allocations: 80.14 kB / 0.5171 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.1708, allocations: 47.61 kB / 0.5172 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.283e-05/0.1709, allocations: 25.7 kB / 0.5172 GB, free: 15.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.1711, allocations: 318.8 kB / 0.5175 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.1713, allocations: 51.95 kB / 0.5176 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.1716, allocations: 67.69 kB / 0.5176 GB, free: 14.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.1722, allocations: 116.8 kB / 0.5177 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1722, allocations: 0 / 0.5177 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006698/0.1729, allocations: 177.4 kB / 0.5179 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.1729, allocations: 4 kB / 0.5179 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1729, allocations: 4 kB / 0.5179 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.1729, allocations: 0 / 0.5179 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.1733, allocations: 31.97 kB / 0.518 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1733, allocations: 0 / 0.518 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.1735, allocations: 19.97 kB / 0.518 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.1735, allocations: 8 kB / 0.518 GB, free: 14.55 MB / 414.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 0.0001106/0.1736, allocations: 121.7 kB / 0.5181 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.1736, allocations: 7.938 kB / 0.5181 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.1737, allocations: 7.969 kB / 0.5181 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1737, allocations: 0 / 0.5181 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1737, allocations: 0 / 0.5181 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1737, allocations: 7.984 kB / 0.5181 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008544/0.1746, allocations: 430.4 kB / 0.5185 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1746, allocations: 0 / 0.5185 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.1749, allocations: 39.89 kB / 0.5186 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1749, allocations: 4 kB / 0.5186 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.1749, allocations: 4 kB / 0.5186 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1749, allocations: 0 / 0.5186 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1749, allocations: 4 kB / 0.5186 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/0.1757, allocations: 323.2 kB / 0.5189 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.1757, allocations: 81.2 kB / 0.519 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1757, allocations: 8 kB / 0.519 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.1759, allocations: 15.98 kB / 0.519 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.176, allocations: 7.969 kB / 0.519 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.176, allocations: 4 kB / 0.519 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.01e-05/0.1761, allocations: 83.28 kB / 0.5191 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1761, allocations: 3.938 kB / 0.5191 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.1763, allocations: 16 kB / 0.5191 GB, free: 13.3 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.0001662/0.1765, allocations: 115.4 kB / 0.5192 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006427/0.1771, allocations: 135.7 kB / 0.5193 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.1772, allocations: 0 / 0.5193 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.1775, allocations: 71.89 kB / 0.5194 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1778, allocations: 11.86 kB / 0.5194 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.1795, allocations: 420 kB / 0.5198 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.18, allocations: 0.6924 MB / 0.5205 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.1801, allocations: 15.94 kB / 0.5205 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.1802, allocations: 15.42 kB / 0.5205 GB, free: 11.78 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1802, allocations: 0 / 0.5205 GB, free: 11.78 MB / 414.1 MB Notification: Performance of Templates: time 0.0049/0.1851, allocations: 0.9416 MB / 0.5214 GB, free: 10.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.37173159699887]