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_DerivativeCheck.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.001788/0.001788, allocations: 104.2 kB / 16.4 MB, free: 6.488 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.002022/0.002022, allocations: 191.7 kB / 19.35 MB, free: 3.754 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.633/1.633, allocations: 205.1 MB / 227.2 MB, free: 12.15 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.2913/0.2913, allocations: 54.96 MB / 331.6 MB, free: 2.758 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [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.002195/0.002195, allocations: 76.69 kB / 464.9 MB, free: 360 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1652, allocations: 59.59 MB / 0.5122 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.003819/0.1691, allocations: 1.262 MB / 0.5134 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1707, allocations: 0.5302 MB / 0.514 GB, free: 3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.853e-05/0.1707, allocations: 0 / 0.514 GB, free: 3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.1708, allocations: 0 / 0.514 GB, free: 3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.1708, allocations: 3.938 kB / 0.514 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.1715, allocations: 119.5 kB / 0.5141 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.1717, allocations: 35.8 kB / 0.5141 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.845e-05/0.1717, allocations: 3.984 kB / 0.5141 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.806e-05/0.1718, allocations: 4 kB / 0.5141 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.1719, allocations: 11.92 kB / 0.5141 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.1719, allocations: 4 kB / 0.5141 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008598/0.1728, allocations: 343.4 kB / 0.5145 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.1728, allocations: 4 kB / 0.5145 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.1728, allocations: 19.91 kB / 0.5145 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.1732, allocations: 131.6 kB / 0.5146 GB, free: 2.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.1733, allocations: 0 / 0.5146 GB, free: 2.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1733, allocations: 4 kB / 0.5146 GB, free: 2.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1733, allocations: 0 / 0.5146 GB, free: 2.328 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006535/0.174, allocations: 359.1 kB / 0.515 GB, free: 1.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.174, allocations: 8.031 kB / 0.515 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.1741, allocations: 4.938 kB / 0.515 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.1743, allocations: 172.2 kB / 0.5151 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1743, allocations: 4.375 kB / 0.5151 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.1743, allocations: 4.375 kB / 0.5151 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.1748, allocations: 70.2 kB / 0.5152 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1749, allocations: 192 / 0.5152 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1749, allocations: 11.92 kB / 0.5152 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1749, allocations: 0 / 0.5152 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.1753, allocations: 43.94 kB / 0.5153 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.1756, allocations: 157.7 kB / 0.5154 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.1761, allocations: 82.45 kB / 0.5155 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.1762, allocations: 16.86 kB / 0.5155 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003888/0.1766, allocations: 105.2 kB / 0.5156 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.1767, allocations: 34.56 kB / 0.5156 GB, free: 1.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.1767, allocations: 4 kB / 0.5157 GB, free: 1.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.003717/0.1804, allocations: 0.6033 MB / 0.5162 GB, free: 444 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.1805, allocations: 55.41 kB / 0.5163 GB, free: 376 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1806, allocations: 89.86 kB / 0.5164 GB, free: 276 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.1807, allocations: 33.7 kB / 0.5164 GB, free: 236 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.1807, allocations: 80.14 kB / 0.5165 GB, free: 152 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.1808, allocations: 23.78 kB / 0.5165 GB, free: 128 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.1809, allocations: 25.66 kB / 0.5165 GB, free: 96 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002564/0.1812, allocations: 322.8 kB / 0.5168 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.1813, allocations: 31.97 kB / 0.5169 GB, free: 15.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.1815, allocations: 31.91 kB / 0.5169 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.1819, allocations: 76.95 kB / 0.517 GB, free: 15.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1819, allocations: 0 / 0.517 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000429/0.1824, allocations: 113.6 kB / 0.5171 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.1824, allocations: 11.94 kB / 0.5171 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1824, allocations: 0 / 0.5171 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1824, allocations: 0 / 0.5171 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.1826, allocations: 19.98 kB / 0.5171 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.1826, allocations: 0 / 0.5171 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.1827, allocations: 15.92 kB / 0.5171 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1828, allocations: 4 kB / 0.5171 GB, free: 15.46 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 (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 0.0001293/0.1829, allocations: 114.5 kB / 0.5172 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1829, allocations: 7.938 kB / 0.5173 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.183, allocations: 7.969 kB / 0.5173 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.183, allocations: 0 / 0.5173 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.183, allocations: 0 / 0.5173 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.183, allocations: 0 / 0.5173 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009672/0.184, allocations: 371.3 kB / 0.5176 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.184, allocations: 0 / 0.5176 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.1843, allocations: 23.97 kB / 0.5176 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.1843, allocations: 0.5156 kB / 0.5176 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.1843, allocations: 4 kB / 0.5176 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1843, allocations: 0 / 0.5176 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1843, allocations: 4.031 kB / 0.5176 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007523/0.1851, allocations: 248.3 kB / 0.5179 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-05/0.1852, allocations: 89.12 kB / 0.518 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1852, allocations: 4.062 kB / 0.518 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.1854, allocations: 11.98 kB / 0.518 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.1855, allocations: 7.984 kB / 0.518 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.1855, allocations: 3.984 kB / 0.518 GB, free: 14.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1856, allocations: 83.28 kB / 0.5181 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1856, allocations: 3.938 kB / 0.5181 GB, free: 14.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003638/0.186, allocations: 8 kB / 0.5181 GB, free: 14.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001883/0.1862, allocations: 103.2 kB / 0.5182 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000468/0.1867, allocations: 79.86 kB / 0.5183 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1867, allocations: 0 / 0.5183 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.1869, allocations: 35.97 kB / 0.5183 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1873, allocations: 15.8 kB / 0.5183 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1884, allocations: 255.8 kB / 0.5186 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.1889, allocations: 0.6883 MB / 0.5192 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.823e-05/0.189, allocations: 8.141 kB / 0.5192 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.066e-05/0.1891, allocations: 11.44 kB / 0.5192 GB, free: 13.13 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.1891, allocations: 0 / 0.5192 GB, free: 13.13 MB / 414.1 MB Notification: Performance of Templates: time 0.005031/0.1942, allocations: 0.7088 MB / 0.5199 GB, free: 12.46 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4387191301211715]